11.10.2009, 11:11
How to make function with optional parameter? Like this:
How to make that parameter text[] would be optional? If i don't write anything there, then it would be just "" ?
Code:
forward Func(param, const text[] = ""); public Func(param, const text[] = "") { // code here return 1; }