L3DT users' wiki
Large 3D terrain generator

GetLineNo

Description

Get the line number in the script of the the current statement.

Function prototype

int GetLineNo

Arguments

None.

Return value

An integer containing the current line number.

Example

echo <zs:GetLineNo>
echo <zs:GetLineNo>
echo <zs:GetLineNo>

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

0
1
2

Comments

None.

See also

None.

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