On Apr 05, 2007, at 07:27 UTC, Octave Julien wrote:

> I'm going to put my ego aside and ask a very basic question. I
> understand that variables are just pointers to memory blocks.

No, that's not true in general.  It's especially untrue for things like
integers.

> Thus, if I do...
> 
>       dim originalValue as integer
>       originalValue = ubound(someArray)
> 
>       dim i as integer
>       i=original value
>       do until i = -1
>               [do some stuff]
>               i=i-1
>       loop
> 
> ....originalValue is decreased in the same time

No, it's not.  Give it a try.

What you're describing is an issue with object variables, because in
that case the value is a reference to some object data.  But with an
integer, the value is the number itself.

Best,
- Joe

--
Joe Strout -- [EMAIL PROTECTED]
Verified Express, LLC     "Making the Internet a Better Place"
http://www.verex.com/

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to