cParametroSX6 parameter name without branch.
AdvPL GuideGetMV(cParametro) -> uValueReads a system parameter in branch context.
Reads SX6 for the connection branch. The reference describes help display when the parameter does not exist. The example prepares a block without automatically reading a potentially missing parameter. Return type follows the registered parameter. (Sources: refs. 1–1.)
GetMV(cParametro) -> uValuecParametroSX6 parameter name without branch.
Value according to parameter type.
#Include "Protheus.ch"
User Function Ed470()
// Execute only in a prepared test environment.
Local bRead := {|| GetMV("MV_DIAS")}
ConOut(ValType(bRead))
Return NilPrepares block B; reading depends on the environment and does not occur here. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.
© 2026 Usina.BR. All rights reserved. TOTVS, Protheus, Microsiga and their respective logos are trademarks of their owners. AdvPL Guide is independent and uses limited, attributed excerpts justified by educational purposes. See the Terms of Use. Terms of Use
Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.