L3DT users' wiki
Large 3D terrain generator

isgt

Description

Determine whether a variable is numerically greater than another variable.

Function prototype

bool isgt <variant:arg1> <variant:arg2>

Arguments

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

The return value of isgt may change if the type of arg1 is not equal to that of arg2. See comments for iseq.

Return value

True if arg1 is greater than arg2, and false otherwise.

Example

echo <zs:isgt 5 3> // is 5 greater than 3? (ans: yes!)

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

true

Comments

None.

See also

 
plugins/general/zeoscript/reference/functions/isgt.txt · Last modified: 2017/08/31 05:08 (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