HB_PVALUE()

Retrieves the value of an argument.

Syntax

HB_PVALUE( <nArg> ) --> <xExp>

Arguments

A number that indicates the argument to check.

Returns

<xExp> Returns the value stored by an argument.

Description

This function is useful to check the value stored in an argument.

Examples

See Test

Tests


function Test( nValue, cString )
if PCount() == 2
? hb_PValue( 1 ), nValue
? hb_PValue( 2 ), cString
endif
return nil

Status

Ready

Compliance

HB_PVALUE() is a new function and hence not CA-Clipper compliant.

Files

Library is vm

See Also