----- Original Message -----
From: "Benjamin Strickland" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, August 22, 2004 12:53 PM
Subject: [RBG7-L] - RE: Using the Write Command.
>
>
> I am using the Write command to write a small code to a file.
>
>
>
> I have the command working but I need the correct (char(14)) command for a
> carriage return.
>
A carriage return is ascii 13 so to add a carriage return to text variable it
would be
set var someText = ('This is the literal Text followed by a Carriage Return' +
(Char(13)))
A Carriage Return and LineFeed Combination is Ascii 13 followed by Ascii 10 so
that would be:
set var someText = ('This is the literal Text followed by a Carriage Return and
LineFeed' + (Char(13)) + (Char(10)))
Or you can make a variable of the Carriage Return/LineFeed Pair by:
Set Var VCrLf = ((Char(13)) + (Char(10)))
Then your Text would be:
set var someText = ('This is the literal Text followed by a Carriage Return and
LineFeed' + .vCrLf)
>
>
> Could someone help me with this and where can I find all of the (Char)
> functions?
>
(Char(n))
where n is ascii char 0 - 255.
>
> Benjamin
>
>