Marcus
Greetings.
I create below code to understand how to keep RP_RESULT variable.
Did run the code deleting teste.exe from dir and with teste.exe on dir C:\temp. Both rimes RP_result was not created by compiler.
Please may help me to understand when RP-RESULT is created ?
Is there any way to create an error log (perhaps using Onevent or "Onerror") about Rum Program unsuccess jobs ?
Let>RP_ADMIN=1
Let>RP_WAIT=1
Let>RP_WINDOWMODE=2
Let>RP_DISPLAYERROR=1
// Let>RP_RESULT=1
Run Program>c:\temp\teste.exe
Let>contr=ok
IF>%RP_RESULT%RP_RESULT
Let>contr=naook
ENDIF