[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: Keeping a running total?

Subject: Re: Re: Keeping a running total?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 13 Jul 2006 10:26:30 +0100
Re:  Re: Keeping a running total?
> it these
> benefits to any degree, but I can understand their benefit. However, I
> suspect that an option to make variables modifiable--at the expense of
> the points mentioned--would come under wide use, quickly. =)

Variables are just as modifiable in declarative languages as they are in
imperative languages. The difference is not whether or not they may be
modified, but what they hold. In declarative languages a variable is
bound to a _value_ such as "2", you can use it where  can use the value and
if you change it it's essentially a different variable, although it may
have the same name.  In imperative languages variables are not bound to
values, but rather to (conceptual) machine addresses, so x refers to a
particular storage location, and of course you can change the value
at that storage location without changing the binding of x (which
process may loosely be called modifying the variable, although, as you
see the variable hasn't changed at all, it's still bound to the same
storage location.


Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.