xContentContent of X3_OBRIGAT.
AdvPL GuideX3TreatObrigat(xContent) -> xTreatedConverts X3_OBRIGAT representation for analysis.
The P12 reference describes binary/string conversion. String input may yield binary or remain string depending on the situation. This is neither a Boolean required/usage check nor an SX3-writing API. The block accepts field content without inventing bit positions or a universal width. (Sources: refs. 1–1.)
X3TreatObrigat(xContent) -> xTreatedxContentContent of X3_OBRIGAT.
Treated content; type depends on input/situation.
#Include "Protheus.ch"
User Function Ed725()
// Supply actual field content; block not invoked.
Local bConvert := {|xContent| X3TreatObrigat(xContent)}
ConOut(ValType(bConvert))
Return NilCreates block B without converting or modifying the dictionary. 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.