Author Topic: EXECUTE error handle  (Read 11840 times)

Script_test

  • Guest
EXECUTE error handle
« on: November 11, 2016, 12:51:47 AM »
EXECUTE , fail on error handle when not found a file to execute.

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

(0): error &H1:Not enough memory
It can lead to confusion. When you really have to say, the file is not found.
I hope this can be helpful.

Support

  • Administrator
  • *****
  • Posts: 22
    • View Profile
Re: EXECUTE error handle
« Reply #1 on: November 11, 2016, 07:25:50 PM »
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.