stegro
14th October 2013, 23:42
Hello,
with the seq..... commands I initiate a file on our unix server and write things in it. Unfortunatly it doesn't work properly: the first time I call the functions it just writes the file, but does not fill the information in. In the second run it writes the lines.
But: altogether I wanted to write two files. In the first run it doesn' t even write the first file, in the second run the file is written but with no content.
Thats my sourcecode:
fp.log = seq.open (trim$(f.log.path)&trim$(tmp.log), "a")
if fp.log <= 0 then
mess(...., 1, tmp.log)
|Datei %s nicht vorhanden
abort()
endif
(...)
content = ... strings
ret = seq.puts(strip$(content), fp.log)
ret = seq.puts(chr$(013), fp.log)
ret always is 0! content is given... I really don't get the problem...?
Thanks in advance,
with the seq..... commands I initiate a file on our unix server and write things in it. Unfortunatly it doesn't work properly: the first time I call the functions it just writes the file, but does not fill the information in. In the second run it writes the lines.
But: altogether I wanted to write two files. In the first run it doesn' t even write the first file, in the second run the file is written but with no content.
Thats my sourcecode:
fp.log = seq.open (trim$(f.log.path)&trim$(tmp.log), "a")
if fp.log <= 0 then
mess(...., 1, tmp.log)
|Datei %s nicht vorhanden
abort()
endif
(...)
content = ... strings
ret = seq.puts(strip$(content), fp.log)
ret = seq.puts(chr$(013), fp.log)
ret always is 0! content is given... I really don't get the problem...?
Thanks in advance,