# hb_param()

Retrieve a direct pointer to an item parameter

Syntax

  C Prototype
  #include <hbapi.h>
  hb_param( int iParam, int iMask ) --> ( PHB_ITEM ) pResult

Arguments

  <iParam> The 1-based parameter to retrieve.
  <iMask>

Returns

  hb_param() returns a direct pointer to an item on the eval stack.

Description

  This item will be removed (set to NIL) after a function cleanup, so if the item needs to survive the current function (e.g. copied to a static) you should use hb_itemParam instead.

Examples

Status

  Ready

Compliance

  Compliance is not applicable to API calls.

Files

  Library is vm

Platforms

  All

See Also

- hb_itemParam()