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.

SEQ<br />

Syntax<br />

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

Description<br />

The <strong>UniBasic</strong> SEQ function converts a single character to its ASCII code value. The<br />

SEQ function is the complement of the CHAR function. SEQ supports multibyte<br />

languages.<br />

Tip: Use SEQ(@NULL) to determine the ASCII code that represents the null value<br />

on your system.<br />

Example<br />

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

corresponding to the character “#” (in this case, 35):<br />

PRINT SEQ("#")<br />

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

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

ASCII, CHAR, CHARS, EBCDIC<br />

SEQ 1-713

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

Saved successfully!

Ooh no, something went wrong!