Yes, but it feels illogical. The logical would be that level=0 should just return the value without copying, in my opinion.
I've never really liked that "zero" is the default value to any function. Allowing a syntax for default values would be much nicer, for instance
int foo(int|void zot=17) { }
where zot=17 if not given.
/ Mirar
Previous text:
2003-03-06 13:09: Subject: negative indices in array ranges
Wouldn't it be better if 0 means infinite recursion? I think it's a good thing to avoid functions that differs between an optional argument being zero and being left out.
/ Martin Stjernholm, Roxen IS