not

From RPTools Wiki
Revision as of 22:50, 22 May 2020 by Phergus (talk | contribs) (Created page with "{{MacroFunction |name=not |proposed=false |trusted=false |description= This performs logical negation on the parameter. |usage= <source lang="mtmacro" line> not(param1) </sou...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

not() Function

This performs logical negation on the parameter.

Usage

not(param1)

Parameters

  • param1 - Number

Example

[h: someVar = 13]
[r: not(someVar)]
[r: not(0)]

Returns:

0
1