modding:function:not
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
modding:function:not [2014/12/27 04:40] – external edit 127.0.0.1 | modding:function:not [2017/01/28 03:47] (current) – 0xabcdef | ||
---|---|---|---|
Line 7: | Line 7: | ||
^ Syntax | (not exp) -> True/Nil | | ^ Syntax | (not exp) -> True/Nil | | ||
^ Arguments | exp: The expression you want to negate. | | ^ Arguments | exp: The expression you want to negate. | | ||
- | ^ Returns | condition: True if the expression evaluates to Nil, otherwise Nil. | | + | ^ Returns | condition: |
^ Category | [[logical operator functions|logical operator]] | | ^ Category | [[logical operator functions|logical operator]] | | ||
^ Description | Returns the logical negation of the expression. | | ^ Description | Returns the logical negation of the expression. | | ||
Line 19: | Line 19: | ||
(not (eq 1 2)) -> True | (not (eq 1 2)) -> True | ||
- | (not (gr 2 1)) -> Nil</ | + | (not (gr 2 1)) -> Nil |
+ | |||
+ | (not 5) -> Nil | ||
+ | |||
+ | (not " | ||
+ | |||
+ | (not not) -> Nil | ||
+ | |||
+ | </ | ||
Return to [[: | Return to [[: |
modding/function/not.1419655255.txt.gz · Last modified: 2017/01/28 02:46 (external edit)