Finds specific arguments that are on the command line that
launches the application. Similar to the “char *argv[]
” that
is passed to the C main function.
int clGetArgv(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. |
Integer.
Returns 1 for success, and 0 for failure.
string myArg;
int rv;
rv = clGetArgv(3, &myArg)
string argv;
clGetArgv(0,&argv)://argv is the name of the
//application running the ODL
erm(“argv[0]=[%s]”,argv);
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |