You were right, the problem didn't come from my code. Sorry for the 
useless posts and thanks for the answers.

Octave

Le 5 avr. 07, à 16:37, [EMAIL PROTECTED] a écrit :

> 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

_______________________________________________
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