web_save_param_length

Saves the length of a parameter.

int web_save_param_length( const char *Param, const char *Base, LAST );  
Argument
Description
Param
The name of the parameter of which the length is saved.
Base
The representation of the length in the parameter. Base is one of Decimal or Hexadecimal

Return Values

This function returns LR_PASS (0) on success, and LR_FAIL (1) on failure.

Parameterization

Parameterization is not applicable to this function.

General Information

web_save_param_length creates a new parameter named "<Param>_Length", if it does not already exist, and saves the length of Param in parameter "<Param>_Length".

For example, the call:

web_save_param_length("Rowid", "Base=Hexadecimal", LAST );

creates a new parameter named "Rowid_Length". The value of Rowid_Length after the call is the length of the value of Rowid.