command line arguments

Moderator: Rathinagiri

Post Reply
User avatar
RussBaker
Posts: 51
Joined: Wed Jul 22, 2015 9:44 am

command line arguments

Post 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.
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: command line arguments

Post 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
Viva INTERNATIONAL HMG :D
User avatar
RussBaker
Posts: 51
Joined: Wed Jul 22, 2015 9:44 am

Re: command line arguments

Post by RussBaker »

Excellent!

Thank You!

Muchas Gracias!!
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: command line arguments

Post by esgici »

You are welcome :)

Happy HMG'ing :D
Viva INTERNATIONAL HMG :D
Post Reply