[prev] [thread] [next] [lurker] [Date index for 2004/04/26]
Mel is the Maye Embedded Language. It's generally quite sane with a few quirks that come out of it being pseudo shell-like. Howveer it does have one fairly batshit convention, at least in my opinion anyway, and lets face it, in a rant such as this that's the only opinion that matters. So, anyway, the following program proc go() { global int $depth = 3; print ("\n" + $depth); $depth = 1; print (" " + $depth); } go(); go(); prints out 3 1 1 1 Why? Because global int $depth = 3; is only evaluated once. At compile time.
Generated at 14:02 on 01 Jul 2004 by mariachi 0.52