Omitted Arguments
Omitted Arguments
Omitted Arguments
All ILE languages can simulate omitted arguments, which allows and other runtime procedures. For example, if an ILE C procedure or an ILE bindable API is expecting an argument passed by reference, you can sometimes omit the argument by passing a null pointer in its place. For information about how to specify an omitted argument in a specific ILE language, refer to the programmer’s guide for that language. The API topic of the Programming category of the IBM® i Information Center specifies which arguments can be omitted for each API.
For ILE languages that do not provide an intrinsic way for a called procedure to test if an argument has been omitted, the Test for Omitted Argument (CEETSTA) bindable API is available.