Thanks Marc

It fails for all rows hovever

So I don’t believe its is EOF

 

Gunnar Ekblad

Kontema IT AB

Hästholmsvägen 32

131 30 Nacka

Sweden

 

-----Ursprungligt meddelande-----
Från: [email protected] [mailto:[email protected]] För MDRD
Skickat: den 8 januari 2009 16:22
Till: RBASE-L Mailing List
Ämne: [RBASE-L] - Re: Line Feed or Carrige return

 

Just a guess.

Does it fail at the first Write statement or at the end of the file?

If so then this might help, at least it is easy to test.

 

Syntax: SET EOFCHAR ON/OFF 

Default: ON 

If EOFCHAR is set OFF, a control-Z character will not be appended to the end
of output files. 

 

Marc

 

----- Original Message ----- 

From: Gunnar Ekblad <mailto:[email protected]>  

To: RBASE-L Mailing List <mailto:[email protected]>  

Sent: Thursday, January 08, 2009 9: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