Author Topic: EXECUTE error handle  (Read 8244 times)

Script_test

  • Guest
EXECUTE error handle
« on: November 11, 2016, 08: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: 1
    • View Profile
Re: EXECUTE error handle
« Reply #1 on: November 12, 2016, 03:25:50 am »
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.