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_chr8(<expn> [,@<memvarc> [,<positionn>]]) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Syntax: CH_CHR8(<expN> [,@<memvarC> [,<positionN>]])

Overwrites eight bytes in memory variable with IEEE double floating point.

Example

* Store eight-byte IEEE representation of 3.14159 into string bytes 9-16
Pi = 3.1415926
CHR2(Pi,@String,9)

* Returns eight-character IEEE representation of Pi as character string
? CHR8(Pi)

Notes

The specified number is "poked" into the character memory-variable starting
at the specified position (default position = 1).  The number is stored in
IEEE eight-byte floating point format.  The variable name must be prefixed
with '@' to be updated properly.

Do not store data beyond the end of the string.

CH_CHR8(<expN>) with no second parameter returns the IEEE eight-byte
character representation of the specified number.  It is similar to
Clipper's CHR function but returns eight bytes instead of one.

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