Histórico da Página
...
Bloco de código | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
@annotation AnnotationExemplo nickname as char @end User function testeAnnotation(@AnnotationExemplo("oioi") parm1, @AnnotationExemplo("oioi") parm2) conout("funcaoTesteAnnotation") return main function usoDeAnnotation() if conout(Reflection.isAnnottationFunctionParamPresent("exemplo1.tlpp", "u_testeAnnotation", 1, "AnnotationExemplo")) jRet := conout(Reflection.getFunctionAnnotationisAnnottationFunctionParamPresent("exemplo1.tlpp", "exemploAnnotationu_testeAnnotation", 2, "AnnotationExemplo")) conout(jRet["NICKNAME"]) endif Reflection.isAnnottationFunctionParamPresent("exemplo1.tlpp", "u_testeAnnotation", 1, "AnnotationNaoEncontrada")) return |
Resultado do Exemplo
.T.
.F.
.F.Company
Abrangência
17.3.0.3
Veja também
...
Visão Geral
Import HTML Content
Conteúdo das Ferramentas
Tarefas