Usina BRAdvPL Guide
Sign in
← All topics
COMMANDUnder review

PARAMETERS

PARAMETERS — specific syntax pending confirmation

Under-review entry: this command’s specific contract is unconfirmed.

PARAMETERSAdvPL
01 · OVERVIEW

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.)

02 · SYNTAX

Syntax

PARAMETERS — specific syntax pending confirmation

Return value

Unconfirmed for PARAMETERS. The alternative example returns its received argument.

03 · PRACTICAL EXAMPLE

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 cValue
Expected result

Prints 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.

BEST PRACTICES
  • 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.

Related content

REFERENCES
  1. TOTVS. AdvPL+-+Comandos. TDN. Accessed on 2026-10-27.
  2. TOTVS. Programação em ADVPL — treinamento histórico; operadores e funções. Accessed on 2026-10-27.
Status
Under review
Page created on
Last reviewed on
Original language
Portuguese
Reviewed by
Usina.BR
0 approved comment(s)

Comments

There are no approved comments yet.

Sign in with Google or Microsoft to comment.

Powered by Usina Docs · Alpha