Hello,
I have created a function with some input parameters. The last input parameter is optional and should be initialized to -1 by default. When I try to call the function without this optional input parameter, the compiler shows an error that I have too few input parameters for the function.
Is it generally not possible to have optional input parameters in a function or do I have to declare the input parameters as optional. If so, how do I do this?
Unfortunately, I can’t find anything about this in the help.