PARAMETERS
PARAMETERS — specific syntax pending confirmationUnder-review entry: this command’s specific contract is unconfirmed.
Overview
The name appears in the historical command queue, but no verifiable PARAMETERS-specific contract was located in the consulted AdvPL material. We infer neither Private scope, syntax nor compatibility from other xBase languages. The documented alternative below declares parameters in a Function signature. PARAMETERS should not be confused with PARAMIXB or MV_PARxx variables. (Sources: refs. 1–2.)
Syntax
PARAMETERS — specific syntax pending confirmationReturn value
Unconfirmed for PARAMETERS. The alternative example returns its received argument.
Commented example
#Include "Protheus.ch"
User Function Ed568()
// Explicit-signature alternative; does not use PARAMETERS.
ConOut(ReadArgument("ED01"))
Return Nil
Static Function ReadArgument(cValue)
Return cValuePrints ED01 using an explicit Function signature; does not demonstrate PARAMETERS. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.
- Keep this entry under review until compiler/release documentation is available. Prefer explicit signatures with argument validation in new examples.
- Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.

Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.