23.12.2012 Views

RLIB Programmers Manual - RLIB - SICOM Systems, Inc.

RLIB Programmers Manual - RLIB - SICOM Systems, Inc.

RLIB Programmers Manual - RLIB - SICOM Systems, Inc.

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.

format(exp_, expS)<br />

true<br />

yes<br />

false<br />

no<br />

Chapter 3. <strong>RLIB</strong> Function Table<br />

Formats the passed exp_ (may be expD, expS or expN) using the expS parameter as a format<br />

string. Format strings must be in the new ’!’ format.<br />

This function will format the passed variable using the passed format string. Character strings<br />

may be formatted using the format symbol ’!!’. Errors will be generated if the type for the format<br />

string does not match the variable type. format headers are: ’!!’ for strings, ’!@’ for datetimes, ’!#’<br />

for numbers and ’!$’ for currency.<br />

For example: "format(’xyx’, ’!!%6s’)" prints ’ xyz’.<br />

Returns STRING<br />

A predefined NUMBER variable with the value 1.<br />

Returns NUMBER<br />

A predefined NUMBER variable with the value 1.<br />

Returns NUMBER<br />

A predefined NUMBER variable with the value 0.<br />

Returns NUMBER<br />

A predefined NUMBER variable with the value 0.<br />

Returns NUMBER<br />

17

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

Saved successfully!

Ooh no, something went wrong!