Keep the file open and use the WRITE ... CONTINUE syntax to avoid carriage returns.
Dennis McGrath Software Developer QMI Security Solutions 1661 Glenlake Ave Itasca IL 60143 630-980-8461 [email protected] -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Les Stark Sent: Thursday, November 03, 2011 9:02 AM To: RBASE-L Mailing List Subject: [RBASE-L] - How do I create a very long text string I need to create a file that contains an EDI document that is a very long text string with no hidden markers such as EOL etc. It could be thousands of characters long. I tried to construct a long variable string, OUTPUT fname ; WRITE .vstring; OUTPUT SCREEN... but there appears to be a 1500 character limit on variables. I tried setting EOFCHAR OFF and... OUTPUT fname APPEND; WRITE .vstring; OUTPUT SCREEN in a loop that wrote each piece of the string variable to the file. The file looks like a single string but there is an invisible character imbedded after each append. HELP... there must be a way in Rbase? --- RBASE-L =======================3D=======================3 D= TO POST A MESSAGE TO ALL MEMBERS: Send a plain text email to [email protected] (Don't use any of these words as your Subject: INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH, REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP) =======================3D=======================3 D= TO SEE MESSAGE POSTING GUIDELINES: Send a plain text email to [email protected] In the message SUBJECT, put just one word: INTRO =======================3D=======================3 D= TO UNSUBSCRIBE: Send a plain text email to [email protected] In the message SUBJECT, put just one word: UNSUBSCRIBE =======================3D=======================3 D= TO SEARCH ARCHIVES: Send a plain text email to [email protected] In the message SUBJECT, put just one word: SEARCH-n (where n is the number of days). In the message body, place any text to search for. =======================3D=======================3 D=

