XQuery functions optional parameters
Replies (1)
Please register to reply
Added by Anonymous about 20 years ago
Legacy ID: #2865987 Legacy Poster: Kesav Kumar (kesav)
Is it possible to declare a function with parameters optional or with default values? Like printf function in C language.
Legacy ID: #2866585 Legacy Poster: Michael Kay (mhkay)
You can't declare function parameters to be optional. You can however declare two functions with the same name but with different numbers of parameters. Michael Kay
Please register to reply