NewsArchive
01-29-2007, 04:46 AM
The documentation says "Handle Text File Operations" returns non-zero on
error.
How do I test for this?
I tried writing a simple one-line text file, and showing a message box with
%_SB_ERRORCODE% after creating the file and writing one line.
Then I set the read-only attribute on an existing copy of the file. The
message box still showed a value of zero although creating and writing the
file had failed (because the existing file couldn't be overwritten.)
Do I need to call it as a function somehow?
TIA
Jane
error.
How do I test for this?
I tried writing a simple one-line text file, and showing a message box with
%_SB_ERRORCODE% after creating the file and writing one line.
Then I set the read-only attribute on an existing copy of the file. The
message box still showed a value of zero although creating and writing the
file had failed (because the existing file couldn't be overwritten.)
Do I need to call it as a function somehow?
TIA
Jane