file functions


ekanderson

Recommended Posts

DFE 5.83 build 1632

Have a sequence that does

private x

x =file.Open(V_Stack_filename, 0,1,0,1) // V_stack_filename never changes

file.write(x, string)

"

file.flush(x)

file.close(x)

return(1)

that bombed before flush and close due to a typo in a file.write string

Corrected typo and

Sequence continued to execute every 6 minutes.

Subsequent executions of the sequence/function gave no error that filename was already open.

However the file could NOT be FTP'ed, because it was "in use", with no DF error code.

Question on file.closeall().

Does this apply ONLY to files opened with file.functions or does it also affect logging and export files.?????

thanks

eka

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.