Gupta TeamDeveloper v6.3 onwards supports Overloaded Constructors , allowing you to declare any number of Constructors with different parameter types. The compiler decides which constructor to use according to the parameter list you send it. See below for a simple example of calling the Constructor using 1) a Boolean parameter and then 2) a String Parameter.
Is there something like variadic functions in Centura?
-
02-10-2022 - |
Pergunta
Is it possible to have optional parameters in Centura 6.1?
Like:
test( boolean , hWnd... )
And how would I declare them?
Solução 2
Outras dicas
You can't.
Team Developer does not support optional parameters.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow