Succfully completed with help of a lot of people Thanks to all who responded.
Gunnar Ekblad Kontema IT AB Hästholmsvägen 32 131 30 Nacka Sweden -----Ursprungligt meddelande----- Från: [email protected] [mailto:[email protected]] För Gunnar Ekblad Skickat: den 8 januari 2009 17:54 Till: RBASE-L Mailing List Ämne: [RBASE-L] - Re: Line Feed or Carrige return Thanks Mike If what you are saying is correct the my program was correct in the first Place What the standard is saying is that linefeed is a must Carriage return is voluntary proceeded the linefeed Gunnar Ekblad Kontema IT AB Hästholmsvägen 32 131 30 Nacka Sweden -----Ursprungligt meddelande----- Från: [email protected] [mailto:[email protected]] För MikeB Skickat: den 8 januari 2009 17:36 Till: RBASE-L Mailing List Ämne: [RBASE-L] - Re: Line Feed or Carrige return ----- Original Message ----- From: "Gunnar Ekblad" <[email protected]> To: "RBASE-L Mailing List" <[email protected]> Sent: Thursday, January 08, 2009 11:24 AM Subject: [RBASE-L] - Re: Line Feed or Carrige return Thanks Mike Right now I have send a testfile to mt my 7:th program tech support Set var VLF text = (char(10)) Set var vcr text = (char(13)) The WRITE statement automatically adds the CR/LF combination if you DO NOT add the CONTINUE statement. If you want to MANUALLY insert a CR/LF combination you can make a single VAR containing the pair like: Set var vCRLF = ((CHAR(13)) + (CHAR(10))) -- NOTE: You have an extra '+' sign here Set var vmytext text = (.vmytext + .vcr + + .vlf) Sho var .vmytext . . I believe it similar to what you suggest. If I am lucky I will post my results otherwise I will try Razzaks approach. Gunnar Ekblad Kontema IT AB Hästholmsvägen 32 131 30 Nacka Sweden -----Ursprungligt meddelande----- Från: [email protected] [mailto:[email protected]] För MikeB Skickat: den 8 januari 2009 17:11 Till: RBASE-L Mailing List Ämne: [RBASE-L] - Re: Line Feed or Carrige return Further, if you wanted to control adding just a C/R or L/F you could code your variable like Set var vmtext = ( .vmtext + (Char(13))) write .vmtext continue or Set var vmtext = ( .vmtext + (Char(10))) write .vmtext continue ----- Original Message ----- From: "Gunnar Ekblad" <[email protected]> To: "RBASE-L Mailing List" <[email protected]> Sent: Thursday, January 08, 2009 10:07 AM Subject: [RBASE-L] - Line Feed or Carrige return For 4 Years I have this routine that exchanges finical information with other programs according to specific Swedish standard. It have been working so far with 6 other programs, now with 7:th program it does not work. To fix this I need to find out if the write statement adds a linefeed or a carriage return. My program is basically a loop from declare cursor: Out myfile.txt . . . write .vmtext . . out terminal I have always presumed that a linefeed is added at the of the write statement. But now I can't presume I need to knew. But if a carriage return is added I must confess my program is in error and 7:th program is correct and 6 before that are just fault tolerant. Is ithe other way I can demand the 7:th program to be altered. Is ther an editor aviable to Se what charter is added or does someone knew! Advice much appriciated Gunnar Ekblad Kontema IT AB Hästholmsvägen 32 131 30 Nacka Sweden --- 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=

