cTextoText presented to the user.
AdvPL GuideAlert( <cTexto> )Displays a simple message in an interactive session.
The official ALERT() page documents displaying text without establishing a business-confirmation contract. Use a short informational message; if the application requires a choice, select a function with a documented return and handle it explicitly. Do not import arguments from other APIs named Alert. (TOTVS, n.d., ref. 1)
Alert( <cTexto> )cTextoText presented to the user.
Not specified in the consulted page; the example ignores the return.
#Include "Protheus.ch"
User Function EdAlert()
// Information without a decision or data write.
Alert("Check completed; no data was changed.")
Return NilProposes displaying one message. 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.