subscripciones
New Member
I need a Generic catch for all exceptions in .w code, and store the Message in a variable, example:
DEF VAR err AS CHARACTER.
??
DEF VAR obj AS MEMPTR.
PUT-STRING(obj, 0) = "hello".
??
fill "err" variable in this case with = "PUT/GET functions not allowed on uninitialized memory. (2914)".
Must contemplate any exceptions. Something like try/catch in c# code.
thanks.
DEF VAR err AS CHARACTER.
??
DEF VAR obj AS MEMPTR.
PUT-STRING(obj, 0) = "hello".
??
fill "err" variable in this case with = "PUT/GET functions not allowed on uninitialized memory. (2914)".
Must contemplate any exceptions. Something like try/catch in c# code.
thanks.