Para la dependencia de funciones entre códigos fuente en el Microsiga Protheus, son necesarios algunos cuidados importantes:
Ejemplo:
// FindFunctionSample.prw
If FindFunction("AtfVldMoed")
AtfVldMoed()
EndIf
Ejemplo:
// MethlsMemberOfSample.prw
If MethlsMemberOf(oObj , "ExisteCliente")
oObj:ExisteCliente()
EndIf
Ejemplo:
// AttlsMemberOfSample.prw
If AttlsMemberOf(oObj, "cCodCli")
cCodCli := oObj:cCodCli
EndIf