command line arguments

Moderator: Rathinagiri

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

command line arguments

Post by RussBaker » Mon Aug 10, 2015 6:21 pm

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: 4333
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 221 times
Been thanked: 76 times
Contact:

Post by esgici » Mon Aug 10, 2015 7:04 pm

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: 45
Joined: Wed Jul 22, 2015 9:44 am

Post by RussBaker » Mon Aug 10, 2015 7:09 pm

Excellent!

Thank You!

Muchas Gracias!!

User avatar
esgici
Posts: 4333
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 221 times
Been thanked: 76 times
Contact:

Post by esgici » Mon Aug 10, 2015 7:37 pm

You are welcome :)

Happy HMG'ing :D
Viva INTERNATIONAL HMG :D

Post Reply