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))
.
.
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


Reply via email to