cPerguntaDisplayed question.
AdvPL GuideMsgYesOrNo(cPergunta,cTitulo) -> lRespostaAsks Yes/No in the historical eADVPL reference.
The guide documents question, title and logical return: Yes is true; No is false. The name includes Or. We assume neither equivalence to MsgYesNo nor current-release support. (Sources: refs. 1–1.)
MsgYesOrNo(cPergunta,cTitulo) -> lRespostacPerguntaDisplayed question.
cTituloWindow title.
Logical: .T. for Yes, .F. for No, per the guide.
#Include "Protheus.ch"
User Function Ed547()
// Block not invoked: requires a compatible historical runtime.
Local bQuestion := {|cQuestion,cTitle| MsgYesOrNo(cQuestion,cTitle)}
ConOut(ValType(bQuestion))
Return NilPrints B; no window opens. 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.