RE: Assignment no, dynamic scoping si (was: Re: [xsl] RE: Wishes for XSL revisions ...

Subject: RE: Assignment no, dynamic scoping si (was: Re: [xsl] RE: Wishes for XSL revisions ...
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Mon, 31 Dec 2001 14:19:24 -0000
> So, why call them variables?

In a traditional mathematical formula such as
  area = length ? breadth
"length" and "breadth" are referred to as variables, because they can take
different values each time you apply the formula.

The use of the word "variable" to refer to a storage location whose contents
could be modified during the execution of an algorithm came later.

XSLT is true to the original mathematical meaning of the term.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread