Difference between revisions of "Talk:If"
Jump to navigation
Jump to search
→Is this an error?: ok, cool - so what do you want to do? Go ahead and do it.
imported>HawkFest m (→Gotchas) |
imported>DragoonWraith (→Is this an error?: ok, cool - so what do you want to do? Go ahead and do it.) |
||
Line 70: | Line 70: | ||
Which explains why one has to be very careful in positioning conditions in a condition list of an editor item: for the CS/OB's engine, '''OR''' has order preference, '''has precedence over AND'''. For example, the condition items (A AND B OR C AND D) are evaluated as (A AND (B OR C) AND D), and not (( A AND B) OR (C AND D)), as opposed to common operator notation for most languages: we call this an ''inversed'' or ''negative'' notation. Always keep the later in mind when applying boolean algebra for evaluating some given expression, as standard operator notations will lead you to errors. | Which explains why one has to be very careful in positioning conditions in a condition list of an editor item: for the CS/OB's engine, '''OR''' has order preference, '''has precedence over AND'''. For example, the condition items (A AND B OR C AND D) are evaluated as (A AND (B OR C) AND D), and not (( A AND B) OR (C AND D)), as opposed to common operator notation for most languages: we call this an ''inversed'' or ''negative'' notation. Always keep the later in mind when applying boolean algebra for evaluating some given expression, as standard operator notations will lead you to errors. | ||
--[[User:HawkFest|HawkFest]] 17:37, 26 May 2008 (EDT) | --[[User:HawkFest|HawkFest]] 17:37, 26 May 2008 (EDT) | ||
:OK, I agree with everything you've written, but I'm not exactly clear on what you are suggesting be done with this article. You've described everything very accurately as I know it. What's wrong with the way the article is written, then? It seems to be saying just what you are, to me at least. | |||
:Feel free to change the article if you think you can write it better - your explanation here is certainly much more detailed than the article, so if you think the article needs the more detailed explanation, go ahead. As always on the Wiki, '''be bold''' - just go ahead and change things when you think there is a problem. Explain what you do on the Talk page, and if people disagree with your edit they can talk about it and we can compromise - it's trivial to undo things in the Wiki if necessary thanks to the History page. | |||
:[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 18:06, 26 May 2008 (EDT) |