Re: lazy or eager variable initialization? [qt-2004Feb1090-01]

Liam Quin wrote:

> The XML Query Working Group considered it and resolved to
> change the text to make it clearer that lazy evaluation is
> permitted, as in your option (4).

Permitted, or required?

Consider something as simple as:

declare variable $x { $y };
declare variable $y { 10 };
$x + $y

Is this portable, implementation-defined, or neither?
What about more complex expressions that depend on
lazy evaluation?
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/

Received on Tuesday, 22 June 2004 19:18:59 UTC