(→"natural" TRUE: truth, not TRUE) |
No edit summary |
||
Line 5: | Line 5: | ||
* There is no "natural" TRUE as you describe it. What you are talking about is not the symbolic constant TRUE, but a truth value, as in ''"interpreted as truth in a [[conditional]] or [[loop]]."'' --[[User:The Krit|The Krit]] 16:49, October 12, 2011 (UTC) |
* There is no "natural" TRUE as you describe it. What you are talking about is not the symbolic constant TRUE, but a truth value, as in ''"interpreted as truth in a [[conditional]] or [[loop]]."'' --[[User:The Krit|The Krit]] 16:49, October 12, 2011 (UTC) |
||
+ | ** Right. Still should be relevant to the page, shouldn't it? --[[User:ShaDoOoW|ShaDoOoW]] 17:14, October 12, 2011 (UTC) |
Revision as of 17:14, 12 October 2011
"natural" TRUE
Im not sure how to write this into article so...
There is a "natural" TRUE. This natural TRUE has no expression, if you want to use it you just write if(nValue). The difference between if(nValue == TRUE) is that since TRUE is equal to 1, in case that nValue would be 2 the expression wouldn't be true. But if(nValue) will be true as long as nValue != 0 which might be usefull in some cases. --ShaDoOoW 02:46, October 12, 2011 (UTC)
- There is no "natural" TRUE as you describe it. What you are talking about is not the symbolic constant TRUE, but a truth value, as in "interpreted as truth in a conditional or loop." --The Krit 16:49, October 12, 2011 (UTC)
- Right. Still should be relevant to the page, shouldn't it? --ShaDoOoW 17:14, October 12, 2011 (UTC)