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.

SEQS<br />

Syntax<br />

SEQS("char.expr")<br />

Description<br />

The <strong>UniBasic</strong> SEQS function converts the first character in each element of a<br />

dynamic array to its ASCII code value. SEQS supports multibyte languages.<br />

Example<br />

In the following example, the program statement prints the ASCII code<br />

corresponding to the value in each element of the dynamic array ARR1. The result is<br />

65}66}67}68.<br />

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

ARR1 = "A":@AM:"B":@AM:"C":@AM:"D"<br />

PRINT SEQS(ARR1)<br />

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

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

ASCII, CHAR, CHARS, EBCDIC, SEQ

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

Saved successfully!

Ooh no, something went wrong!