05.05.2014 Views

csmstr - Omega Engineering

csmstr - Omega Engineering

csmstr - Omega Engineering

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.

FUNCTION REFERENCE<br />

TEXTTOINT(STRING, RADIX)<br />

TEXTTOINT(STRING, RADIX)<br />

ARGUMENT TYPE DESCRIPTION<br />

string cstring The string to be processed.<br />

radix int The number base to be used.<br />

DESCRIPTION<br />

Returns the value of string, treating it as a number of base radix. This function is often<br />

used together with Mid to extract values from strings received from raw serial ports. It can<br />

also be used to convert other string values into integers.<br />

FUNCTION TYPE<br />

This function is passive.<br />

RETURN TYPE<br />

int.<br />

EXAMPLE<br />

Data := TextToInt("1234", 10)<br />

REVISION 6 PAGE 427

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

Saved successfully!

Ooh no, something went wrong!