Hi,
I'm going to put my ego aside and ask a very basic question.
I understand that variables are just pointers to memory blocks.
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, which is a problem in
my situation, because I can't get the original value again after the
loop.
After reading the manual, I thought that writing...
const originalValue= ubound(someArray)
... would solve the problem.
But the compiler stops and says :
This method requires more parameters than were passed.
const originalValue= ubound(someArray)
If, for a try, I write...
const originalValue=3
The compiler also stops and says :
This method or property does not exist.
i=originalValue
So I guess that my using of const is wrong. But I can't figure out why.
Any advices for a newbie ?
Octave
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>