On Fri, 2004-02-06 at 18:08, Wade Bowmer wrote:
> That brings up the issue of when a default expression (as opposed to a mere
> constant) is evaluated: is it when the procedure is declared? First call?
> Or every call? Each has their merits and problems.
Has to be every call where the actual argument is &null.
Consider:
Procedure f(x:=list(5))
you *have* to create a new list each time the call is f() - to not
do so would be asking for trouble.
--
Steve Wampler <[EMAIL PROTECTED]>
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Unicon-group mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unicon-group