lrc_save_ushort
| Parameterization ("save") Functions |
Saves an unsigned short integer value to a string parameter.
int lrc_save_ushort( const char* param_name, unsigned short val );
int lrc_save_unsigned_short( const char* param_name, unsigned short val );
int lrc_save_ushort_by_ref( const char* param_name, unsigned short *val );
| param_name | The name of the string parameter in which to store the value. |
| val | The value to be saved. |
The lrc_save_ushort function saves an unsigned short integer value to a string parameter.
The lrc_save_ushort_by_reffunction saves the unsigned short integer value pointed to by "val" to a string parameter.
VuGen generates these functions as commented-out calls. To use the parameter, change the recorded param_name argument to a meaningful name and uncomment the call.
Return Values
Parameterization
You cannot use standard parameterization for any arguments in this function.
Example
This example saves the value 105 to a string parameter:
unsigned short var=lrc_ushort("105");
lrc_save_ushort("param-name",var);

