cArquivoArtifact to inspect.
AdvPL GuideMsFile(cArquivo,[cIndice],[cDriver]) -> lExistsChecks file or table existence through the RDD.
Takes the artifact name and optional index/driver. Existence does not confirm schema, write access or absence of locks. This is not a file-handle open operation. Historical reference: verify behavior in the deployed release/RDD. (Sources: refs. 1–1.)
MsFile(cArquivo,[cIndice],[cDriver]) -> lExistscArquivoArtifact to inspect.
cIndiceIndex according to driver.
cDriverRDD driver.
Logical result of the documented operation.
#Include "Protheus.ch"
User Function Ed539()
// Block not invoked; supply only authorized test artifacts.
Local bOperation := {|cDest,cIndex,cRDD| MsFile(cDest,cIndex,cRDD)}
ConOut(ValType(bOperation))
Return NilPrints B. The operation is not executed; check its logical result when integrating. 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.