TIP: Click on subject to list as thread! ANSI
echo: public_domain
to: Rod Speed
from: Paul Edwards
date: 1994-04-18 07:50:40
subject: 20:21

PE>> However, I would like you to try this.
 PE>> integer i string ch
 PE>> i = 241 ch = i
 PE>> PUT ch

 RS> Dont work, the manual says explicitly that the integer will be converted
 RS> to the string version before its put out. In effect its equivalent to
 RS> doing a PUT "241" because of the conversion. PUT 241
achieves the same
 RS> thing.

Care to quote something on that?  "Before it is put out", I
presume you think whatever is in "ch" will be converted.  Since
ch is meant to be a single character, that is not possible, because
otherwise there would be no way of putting out characters.  The only
possibility of it not working is if the "ch = i" made it do an
auto-conversion, but that would obviate the need for itoa.

 PE>> Failing that, the Alt-things may have more scope than you think.

 RS> I thought he was always saying that it would do whatever he wanted, and
 RS> it does, but that it wasnt very elegant, particularly risking getting
 RS> grunged when a code fragment was posted in an email message coz of the
 RS> hi ascii strip seen on some systems.

No, remember he posted some fragment where you could go "`EE00"
or something which was meant to be the equivalent of you typing
"Alt-E"?  Maybe you can go Alt-241 as well, through a similar
mechanism.  BFN.

Paul

--- GoldED/2 2.42.G1114
* Origin: Ten Minute Limit (3:711/934)

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.