11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

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.

REMOVE<br />

Syntax<br />

REMOVE var FROM dyn.var [AT col.pos] SETTING delim.var<br />

Description<br />

The <strong>UniBasic</strong> REMOVE command extracts an element from a dynamic array and<br />

assigns the removed element to a variable. REMOVE does not change the value of<br />

the dynamic array. REMOVE supports multibyte languages.<br />

REMOVE searches a dynamic array for system delimiters. When UniData finds a<br />

delimiter, it assigns the contents of the array element and the delimiter to the variable.<br />

UniData maintains a pointer to the last substring you remove so that successive<br />

REMOVE statements move progressively through a dynamic array.<br />

Tip: Use REMOVE to sequentially process the elements of a dynamic array.<br />

Parameters<br />

The following table describes each parameter of the syntax.<br />

Parameter Description<br />

var Specifies the element to contain the extracted array element.<br />

REMOVE Parameters<br />

REMOVE 1-675

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

Saved successfully!

Ooh no, something went wrong!