FANDOM


("natural" TRUE: No)
("natural" TRUE)
 
Line 8: Line 8:
   
 
::* What I quoted from this article is relevant to this article, but a larger discussion of truth values is not since this article is about the constant TRUE, not the concept of truth. Truth values are relevant to [[conditional]]s, which is why that article has discussed truth values since it was created. --[[User:The Krit|The Krit]] 20:10, November 8, 2011 (UTC)
 
::* What I quoted from this article is relevant to this article, but a larger discussion of truth values is not since this article is about the constant TRUE, not the concept of truth. Truth values are relevant to [[conditional]]s, which is why that article has discussed truth values since it was created. --[[User:The Krit|The Krit]] 20:10, November 8, 2011 (UTC)
  +
:::* I see, haven't noticed the conditional article. --[[User:ShaDoOoW|ShaDoOoW]] 12:51, November 9, 2011 (UTC)

Latest revision as of 12:51, November 9, 2011

"natural" TRUE Edit

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)
  • What I quoted from this article is relevant to this article, but a larger discussion of truth values is not since this article is about the constant TRUE, not the concept of truth. Truth values are relevant to conditionals, which is why that article has discussed truth values since it was created. --The Krit 20:10, November 8, 2011 (UTC)
  • I see, haven't noticed the conditional article. --ShaDoOoW 12:51, November 9, 2011 (UTC)
Community content is available under CC-BY-SA unless otherwise noted.