L3DT users' wiki
Large 3D terrain generator

isneq

Description

Thest the inequality of two variables.

Function prototype

bool isneq <bool:arg1> <bool:arg2>

Arguments

Name Type Comment
arg1 variant The first variable to be compared.
arg2 variant The second variable to be compared.

If the type of arg1 is not equal to that of arg2, the ordering of the arguments may change the result of calls to isneq. See comments for iseq.

Return value

False if the values are equal, and true otherwise.

Example

echo <zs:isneq 1 2> // should be true
echo <zs:isneq 2 2> // should be false

… the output of which is written to the event log by echo as:

true
false

Comments

None.

See also

 
plugins/general/zeoscript/reference/functions/isneq.txt · Last modified: 2017/08/31 07:07 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki