Author Topic: EXECUTE error handle  (Read 6571 times)

Script_test

  • Newbie
  • *
  • Posts: 37
EXECUTE error handle
« on: November 11, 2016, 01: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: 859
    • Script BASIC Open Source Project
Re: EXECUTE error handle
« Reply #1 on: November 11, 2016, 08: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.




Script BASIC Project Manager