Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GetIt Reference Guide - syntax: ch_asc1(<expc>, [<positionn>]) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Syntax: CH_ASC1(<expC>, [<positionN>])

Returns Ascii value of character at specified position.

Example

* display Ascii value of 4th byte of String
? CH_ASC1(String,4)
? ASC(SUBSTR(String,4,1))    && same thing with Clipper function

Notes

If the position is omitted, then the first byte (1) is assumed.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson