Maybe I'm stating the obvious here, but in the first instance "HELLO" is what I typed after hitting <enter>, in the second case, it's the output of the sequence of WRITE commands.

===
Gregory Woodhouse
[EMAIL PROTECTED]

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away."
-- Antoine de Saint-Exupery

On Jun 25, 2005, at 2:33 PM, Gregory Woodhouse wrote:

Remember that a * read returns the byte value read, and you need $C () to convert it back to a character:

USER>F I=1:1:5 R *X(I)
HELLO
USER>F I=1:1:5 W $C(X(I))
HELLO
USER>

$A is the inverse operation, giving you the integer value of a character.




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to