Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month! GetIt Reference Guide - syntax: ch_chr8(<expn> [,@<memvarc> [,<positionn>]]) [<<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.


* Store eight-byte IEEE representation of 3.14159 into string bytes 9-16
Pi = 3.1415926

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


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: --- NG 2 HTML conversion by Dave Pearson