lFormatRequests formatting.
AdvPL GuideFWUUIDV1([lFormat]) -> cUUIDGenerates a version 1 UUID.
The reference describes a timestamp and hardware hash. lFormat controls presentation and defaults to false; its own example omits the argument despite the table marking it required. We explicitly pass .T. (Sources: refs. 1–1.)
FWUUIDV1([lFormat]) -> cUUIDlFormatRequests formatting.
Identifier string.
#Include "Protheus.ch"
User Function Ed455()
Local cId := FWUUIDV1(.T.)
// Identifier, not an authentication credential.
ConOut(cId)
Return NilDisplays an identifier; its value depends on implementation and context. 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.