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.

ICONV<br />

Syntax<br />

ICONV(expr,conv.code.expr)<br />

Description<br />

The <strong>UniBasic</strong> ICONV function converts string or numeric data to internal representation<br />

format based on conversion codes. ICONV supports multibyte languages. If<br />

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

With null value handling turned on, the presence of the null value in data produces a<br />

result of the null value, and the STATUS function return value is set to 5.<br />

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

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

Parameters<br />

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

Parameter Description<br />

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

expr Specifies the expression (a string or numeric data) to convert.<br />

conv.code.expr Specifies an internal representation format to use when converting expr.<br />

ICONV Parameters

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

Saved successfully!

Ooh no, something went wrong!