How to return the command-line arguments specified when launching a FW/FWH program.
Thanks in advance
Otto
How to return the command-line arguments specified when launching a FW/FWH program.
Thanks in advance
Otto
Otto,
HB_ARGC() Returns the number of command line arguments passed to the application, this also includes the internal arguments
HB_ARGV( n ) Returns a command line argument passed to the application. Calling it with the parameter zero, it will return the name of the executable, as written in the command line
In FW 16 bits you may use: NARGC() and CARGV( n )
Or, for a fixed number of parameters:
FUNCTION MAIN( cPar1, cPar2, cPar3 )
EMG
WOW - that's support!