Hello,
I want to catch the Error variable, but there seems to be now way to do that (hope you guys prove me wrong!), this is what i do:
output @File using val$(len(WriteString$))&"a"; WriteString$
The WriteString goes into a file, but if the file cant be written, or some other error case i want to have the Error variable stored into my var. I know the system traps this error, but when it does the program stops.
PS: I need the formatted output because my strings are over 80 chars long.
I want to catch the Error variable, but there seems to be now way to do that (hope you guys prove me wrong!), this is what i do:
output @File using val$(len(WriteString$))&"a"; WriteString$
The WriteString goes into a file, but if the file cant be written, or some other error case i want to have the Error variable stored into my var. I know the system traps this error, but when it does the program stops.
PS: I need the formatted output because my strings are over 80 chars long.
output @File *,,Err* using val$(len(WriteString$))&"a"; WriteString$
But the program still stops (i point to a location that does noet exist.. Any ideas?