06-24-2011, 12:25 PM
If need to collect all warnings of current thread, and then write to file when the thread ends, I would use ICsv variable with thread scope.
Function LogWarning
Function LogErrors
Function LogWarning
;/
function $text
str s1 s2 s3(text)
s1="time"
s2.getmacro(getopt(itemid 1) 1)
ICsv- t_logErr=CreateCsv(1)
t_logErr.AddRowSA(-1 3 &s1)Function LogErrors
