Pass parameters to program?

Blitz3D Forums/Blitz3D Programming/Pass parameters to program?

Conan(Posted 2005) [#1]
Haven't figured this one out, yet...
How can you (from Blitz3D) pass a parameter that can be read in the CommandLine$() on another Blitz3D program?

Haven't figured it out yet...

Thanks in advance!


WildStorm(Posted 2005) [#2]
execfile "my_exe.exe -parameter1"


Conan(Posted 2005) [#3]
I just knew it would be that obvious...

And can a blitz3D Proggy return anything to the caller?

like, in C++ you put in the main loop return result; and that's it!
but i don't get that in Blitz3D...


jfk EO-11110(Posted 2005) [#4]
AFAIK no. Probably with a userlib extension.


WildStorm(Posted 2005) [#5]
only by writing it down in a file


Conan(Posted 2005) [#6]
Geez... well, thanks anyway!