lr.get_attrib_long

Returns a long integer type value of an argument passed to the script run.

C#

int lr.get_attrib_long( string argument_name );

VB.NET

Function lr.get_attrib_ByVal( ByVal argument_name As String ) as Long
Example: lr.get_attrib_longCommand Line Parsing Functions

Arguments

NameComments
argument_nameThe name of an argument whose value can be interpreted as a long integer.

The lr.get_attrib_long function returns the value of a long integer argument 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

The value of the specified argument. If the argument does not exist or if its value is not consistent with the long data type, returns -1.

Parameterization

Standard parameterization is not available for this function.