AnsweredAssumed Answered

Error variabele output @File using .... 7.20p

Question asked by ANDREL on Mar 30, 2012
Latest reply on Apr 8, 2012 by adrianc
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.