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.

STATUS Function Return Values<br />

After you execute ICONVS, the STATUS function returns one of the values<br />

described in the following table.<br />

Example<br />

In the following example, the program segment converts each element of ARR1 to<br />

internal format:<br />

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

ARR1 = "$12.34":@VM:5678:@VM:9876<br />

ARR2 = ICONVS(ARR1,"MR2")<br />

PRINT ARR2<br />

END<br />

This program segment prints the following converted array elements:<br />

1234 567800 987600<br />

Note: The blanks in the number are value marks, which are nonprinting characters.<br />

The value marks could display as some other character on your terminal screen.<br />

Related <strong>Commands</strong><br />

<strong>UniBasic</strong><br />

ICONV, OCONVS<br />

Value Description<br />

0 Successful conversion.<br />

1 Invalid input data.<br />

2 Invalid conversion specification.<br />

3 Invalid date for “D” conversion code only.<br />

5 Null value if null value handling is turned on.<br />

STATUS Function Return Values

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

Saved successfully!

Ooh no, something went wrong!