lr_get_attrib_long
Returns a long integer type value of an argument passed to the script run.
C Language
long lr_get_attrib_long( char *argument_name );
Example: lr_get_attrib_long | Command Line Parsing Functions |
Java Language
long lr.get_attrib_long( String argument_name );
Example: lr.get_attrib_long | Command Line Parsing Functions | Java Syntax |
Arguments
Name | Comments |
---|---|
argument_name | The name of an argument that can be interpreted as a long integer value. |
The lr_get_attrib_long function returns the value of an argument of type long integer that was passed to the run of the script.
To view the arguments passed to a script run, see mdrv_cmd.txt in the script folder.
Return Values
If this function succeeds, it returns the value of the argument. If the argument does not exist or if its value is not consistent with the type, the function returns -1.
Parameterization
You cannot use standard parameterization for any arguments in this function.