GetProcessArgc  getTime

Chapter 2: Bridged Functions

GetProcessArgv

Description

Finds specific arguments that are on process’ command line.

Syntax

GetProcessArgv(int index, string *argument));

Parameter

Description

index

Argument number you want to find, zero index based.

argument

String to which you want to put the argument.

Return value

Integer.

Returns 1 for success, and 0 for failure.

Examples

Example 25

string myArg;
int rv;
rv = GetProcessArgv(3, &myArg)

See also

“GetProcessArgc”.





Copyright © 2005. Sybase Inc. All rights reserved. getTime

View this book as PDF