11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

$ZSORT012Offset is relative to the beginning of the file (absolute).Offset is relative to the current position.Offset is relative to the end of the file.If you do not specify a mode value, $ZSEEK assumes a mode value of 0.See Also• OPEN command• CLOSE command• I/O Devices and Commands in <strong>Caché</strong> I/O Device Guide• Sequential File I/O in <strong>Caché</strong> I/O Device Guide$ZSORTReturns the next subscript in the array of the specified subscripted variable.$ZSORT(variable,direction)ParametersvariabledirectionA subscripted local or global variable. The subscript is required; youcannot specify just the array name.Optional — The subscript order in which to traverse the target array.Use 1 (the default) for ascending subscript order and -1 for descendingsubscript order.Description$ZSORT returns the next subscript in the subscripted variable. The variable parameter canspecify a subscripted local or global variable. $ZSORT is identical to the $ORDER functionin <strong>Caché</strong>.See Also• $ORDER function• $ZORDER function<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 561

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!