HI, i'm using an executable to program a processor. Now i want to handle errors if they occur. So i need to bring the return value of the executable into BTbasic, simple i though:
execute "bla.exe"; A
When i do a"print A" i get 752, but i know the return value is 0. Somebody knows how to do this ?
Regards,
Andre
execute "bla.exe"; A
When i do a"print A" i get 752, but i know the return value is 0. Somebody knows how to do this ?
Regards,
Andre
752 is an error exit value from bt basic, so basically nothing happened - you can make a small btbasic routine to test this, maybe it needs more time, also before you enter the loop to test the return you would have to reset and clear the variable each time with an A=0.
let me know exactly you are trying to do - tyhere may be other ways to get it working
thanks, Jon