#Basic -> ARexx
20-May-95 09:12:10
Sb: #46834-#Basic -> ARexx
Fm: Joe Lowery 72437,2354
To: Jim Butterfield 73624,14
Jim –
Thanks for the reply. I've been using "Call WriteCH(byte)" in my program,
so I'm covered there, but where I think I'm getting stuck is trying to find an
equivalent for the CHR$() function.
If I understand d2c()'s result, I'll won't get an ASCII character – which is
what CHR$() will do. So how do I get from binary (or decimal) to the ASCII?
The only clue I found in the ARexx manual was the CVi2a() function – which will
convert from integer (decimal?) to ASCII. Unfortunately, it doesn't seem to be
simple to use, i.e. (from the ARexx manual):
CVi2a() – convert from integer to ASCII
Usage: (length, pointer) = CVi2a(buffer, value, digits)
I don't know how to use a 'pointer' to access the converted value.
Perhaps there is another undocumented conversion function with one of the
other support libraries that I am unfamiliar with?
Thanks for your help.
Joe