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.

<strong>Caché</strong> <strong>ObjectScript</strong> Functions• $LISTDATA function• $LISTFIND function• $LISTFROMSTRING function• $LISTGET function• $LISTLENGTH function• $LISTNEXT• $LISTSAME function• $LISTTOSTRING$LISTBUILDBuilds a list of elements from the specified expressions.$LISTBUILD(element,...)$LB(element,...)ParameterelementAny expression, or comma-separated list of expressions. To include acomma within an element, make the element a quoted string.Description$LISTBUILD takes one or more expressions and returns a list with one element for eachexpression.The following functions can be used to create a list:• $LISTBUILD, which creates a list from multiple strings, one string per element.• $LISTFROMSTRING, which creates a list from a single string containing multipledelimited elements.• $LIST, which extracts a sublist from an existing list.$LISTBUILD is used with the other $LIST functions: $LISTDATA, $LISTFIND,$LISTGET, $LISTNEXT, $LISTLENGTH, $LISTSAME, and $LISTTOSTRING. The244 <strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong>

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

Saved successfully!

Ooh no, something went wrong!