Page 1 of 1

command line arguments

Posted: Mon Aug 10, 2015 6:21 pm
by RussBaker
Is there a function to read command line arguments. In Clipper I used ARGC() and ARGV(). These might have been 3rd party libraries.

I need to be able to run my HMG program and have it respond to a command line input.

eg: MYProg.exe /S

Where the /S tells it to run without user input.

Re: command line arguments

Posted: Mon Aug 10, 2015 7:04 pm
by esgici
RussBaker wrote:Is there a function to read command line arguments. In Clipper I used ARGC() and ARGV(). These might have been 3rd party libraries.

I need to be able to run my HMG program and have it respond to a command line input.

eg: MYProg.exe /S

Where the /S tells it to run without user input.
https://vivaclipper.wordpress.com/?s=argc

Re: command line arguments

Posted: Mon Aug 10, 2015 7:09 pm
by RussBaker
Excellent!

Thank You!

Muchas Gracias!!

Re: command line arguments

Posted: Mon Aug 10, 2015 7:37 pm
by esgici
You are welcome :)

Happy HMG'ing :D