L3DT documentation
Large 3D terrain generator



Sort an item in a list to another index. In list_SortI, the item to be sorted is specified by its current location (compare: list_SortA).

Function prototype

bool CExtAPI::list_SortI(ZLIST hList, int From, int To);


Name Type Comment
hList ZLIST A handle to a ZLIST variable containg the item to be sorted.
From int The current index of the item to be sorted.
To int The desired index of the item.

Return value

False if an error occurred, and true otherwise.



zeolite/functions/list_sorti.txt · Last modified: 2017/08/31 07:15 (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