Support > General Discussions

EXECUTE error handle

(1/1)

Script_test:
EXECUTE , fail on error handle when not found a file to execute.


--- Code: ---directorio="c:\\scriptbasic\\ejemplo\\"
ejecutar= directorio & "command.bat"
llamar_externo = EXECUTE (ejecutar,-1,pid )

(0): error &H1:Not enough memory

--- End code ---
It can lead to confusion. When you really have to say, the file is not found.
I hope this can be helpful.

Support:
I have noticed that (0): error &H1:Not enough memory is used as a catch all error message.

Thanks for the heads up! I'll have a peek at the code and see if I can make that error code more relevant.




Navigation

[0] Message Index

Go to full version