On Fri, Jan 03, 2003 at 02:20:00AM +0100, Johan Sundström (a hugging punishment!) @ Pike (-) developers forum wrote:
// an undefined variable would be a compile time error. a= b?b:c;
This sounds like a poor translation from a foreign concept Pike lacks.
yes, abvioulsy, i was totally unsure what to do with that.
a = zero_type(b) ? c : b;
is indeed a lot better, and introduces a new pike feature at the same time...
greetings, martin.