11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

EXTRACT<br />

Syntax<br />

EXTRACT(dyn.array.expr, attrib.expr,[val.expr [,subval.expr]])<br />

dyn.array.expr <br />

Description<br />

The <strong>UniBasic</strong> EXTRACT function retrieves data from an attribute, value, or<br />

subvalue in a dynamic array. The dynamic array itself remains unchanged. You can<br />

use either of the preceding syntax forms.<br />

Parameters<br />

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

Parameter Description<br />

dyn.array.expr Specifies a dynamic array from which to retrieve the data.<br />

attrib.expr Specifies an attribute of the dynamic array from which to retrieve the<br />

data. If the value of attrib.expr is less than 1, UniData uses 1.<br />

val.expr Specifies a value of attrib.expr from which to extract the data. If the<br />

values of val.expr and subval.expr are 0, or if they do not appear in the<br />

EXTRACT function, UniData retrieves an attribute.<br />

subval.expr Specifies a subvalue of the value specified by val.expr in the attribute<br />

specified by attrib.expr, from which to retrieve data.<br />

If the values of val.expr and subval.expr are 0, UniData retrieves an<br />

attribute. If the value of subval.expr is 0, or if it does not appear in the<br />

EXTRACT function, UniData retrieves a value.<br />

EXTRACT Parameters<br />

EXTRACT 1-277

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

Saved successfully!

Ooh no, something went wrong!