Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » PromptYesNo = 1|0 not IDYES|IDNO ?
Re: PromptYesNo = 1|0 not IDYES|IDNO ? [message #21846 is a reply to message #21842] Mon, 08 June 2009 11:06 Go to previous message
mirek is currently offline  mirek
Messages: 14263
Registered: November 2005
Ultimate Member
jeremy_c wrote on Mon, 08 June 2009 04:31

I am wondering if PromptYesNo should return IDYES and IDNO instead of 1 or 0? This seems a bit confusing to me.

Jeremy



Well, it is easier to write

if(PromptYesNo(...))

than

if(PromptYesNo(...) == IDYES)

In any case, it is too late to change this...

Mirek
 
Read Message
Read Message
Previous Topic: Keyboard shortcut
Next Topic: Hidden Panic
Goto Forum:
  


Current Time: Sat Jun 28 12:59:51 CEST 2025

Total time taken to generate the page: 0.04375 seconds