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.

OCONVS<br />

Syntax<br />

OCONVS(dyn.array.expr, conv.code.expr)<br />

Description<br />

The <strong>UniBasic</strong> OCONVS function converts string or numeric data from internal<br />

format to output format, based on a conversion code, for each element of a dynamic<br />

array. If the input value or conversion code is invalid, UniData returns the input<br />

value.<br />

Note: In BASICTYPE P, OCONVS returns an empty string if UDT.OPTIONS 56 is on<br />

and the input value or conversion code is invalid.<br />

OCONVS conversion codes are the same as OCONV conversion codes. For<br />

information about conversion codes, see OCONV.<br />

Parameters<br />

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

Parameter Description<br />

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

dyn.array.expr Specifies a dynamic array, each element of which to convert.<br />

conv.code.expr Specifies a code to use in converting each element of the<br />

dynamic array.<br />

OCONVS Parameters

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

Saved successfully!

Ooh no, something went wrong!