cExpressaoText shown by MsgStatus.
AdvPL GuideMsgStatus(cExpressao); ClearStatus()Shows and clears status text in the historical API.
MsgStatus takes status text and ClearStatus clears it. The eADVPL guide describes display without waiting for a user response. This is neither confirmation nor proof of background execution. This is a historical reference: availability and presentation depend on the client. The fragment prepares two blocks without requiring an active window during demonstration. (Sources: refs. 1–1.)
MsgStatus(cExpressao); ClearStatus()cExpressaoText shown by MsgStatus.
The guide specifies no useful return value; ClearStatus takes no parameters.
#Include "Protheus.ch"
User Function Ed544()
// Caller must pair display and cleanup, including errors.
Local bShow := {|cText| MsgStatus(cText)}
Local bClear := {|| ClearStatus()}
ConOut(ValType(bShow)+ValType(bClear))
Return NilPrints BB. Uninvoked blocks do not change status. 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.