----- Original Message ----- From: "Benjamin Strickland" <[EMAIL PROTECTED]> To: "RBG7-L Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, August 25, 2004 8:39 PM Subject: [RBG7-L] - RE: Using the Write Command.
> Mike, > > What code do I use in a [Write] for an attachment? I don't understand the context. Give me the structure of what you are doing... > Ben > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of MikeB > Sent: Sunday, August 22, 2004 2:42 PM > To: RBG7-L Mailing List > Subject: [RBG7-L] - RE: Using the Write Command. > > > ----- 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 > > > > >
