Share this page

# lr.paramarrLen

Returns the number of elements in a parameter array.

String and Parameter Functions

## Syntax

    lr.paramarrLen( paramArrayName );

## Arguments

Argument | Comments
--- | ---
paramArrayName | The name of the parameter array.

## Return Values

The length of the array. On error, returns -1.

## Parameterization

Standard parameterization is not available for this function.

See Also

## Example

    function Action(){
        var arrSize;
        var flightVal;
        web.regSaveParam({name : 'outFlightVal',
           lb:'Example',
           rb:'<',
           ord:'ALL'});

        web.url(
            {
                name : 'All kind of CGI\'s.',
                url : 'http://kalimanjaro/cgi_examples/cgi_overview.html',
                targetFrame : '',
                resource : 0,
                recContentType : 'text/html',
                referer : 'http://kalimanjaro/',
                snapshot : 't2.inf',
                mode : 'HTML'
            }
        );

        arrSize = lr.paramarrLen("outFlightVal");
        flightVal = lr.paramarrIdx("outFlightVal", arrSize);

        return 0;
    }

Tips to improve your search results... VuGen Function Reference Version 26.1 Function Reference 26.1 All View Local Help Center View Online Help Center Version: