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 ?
PromptYesNo = 1|0 not IDYES|IDNO ? [message #21842] Mon, 08 June 2009 10:31 Go to next message
jeremy_c is currently offline  jeremy_c
Messages: 175
Registered: August 2007
Location: Ohio, USA
Experienced Member
I am wondering if PromptYesNo should return IDYES and IDNO instead of 1 or 0? This seems a bit confusing to me.

Jeremy
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: 13975
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
Previous Topic: Keyboard shortcut
Next Topic: Hidden Panic
Goto Forum:
  


Current Time: Tue Apr 23 12:47:34 CEST 2024

Total time taken to generate the page: 0.02068 seconds