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.

FIND<br />

Syntax<br />

FIND expr IN dyn.array[,occur] SETTING f [,v[,s]] {THEN statements | ELSE<br />

statements}<br />

Description<br />

The <strong>UniBasic</strong> FIND command determines the position of the given expression in a<br />

dynamic array. FIND returns the attribute, value, and subvalue position of the found<br />

string. The expression must match the entire array element to make a match.<br />

Parameters<br />

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

Parameter Description<br />

1-260 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong><br />

expr Specifies the expression to find. expr must be either a numeric value or a<br />

string value.<br />

dyn.array Specifies the dynamic array in which to find expr.<br />

,occur Specifies the occurrence of expr to find. The default is 1 (the first<br />

occurrence).<br />

FIND Parameters

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

Saved successfully!

Ooh no, something went wrong!