1. Bug in Multiply-Dimensioned Sequence?
- Posted by cklester <cklester at yahoo.com>
Dec 01, 2005
-
Last edited Dec 02, 2005
Rob, when I run the following code:
?plans[2][i][2][j][x][2]
i = find(list[t],plans[2][i][2][j][x][2])
?plans[2][i][2][j][x][2]
The printout of the plans[] sequence should be the same, BUT IT IS NOT!
Can you figure it out or do I need to send you some code?
-=ck
"Programming in a state of Euphoria."
http://www.cklester.com/euphoria/
2. Re: Bug in Multiply-Dimensioned Sequence?
cklester wrote:
>
> Rob, when I run the following code:
>
> ?plans[2][i][2][j][x][2]
> i = find(list[t],plans[2][i][2][j][x][2])
> ?plans[2][i][2][j][x][2]
>
> The printout of the plans[] sequence should be the same, BUT IT IS NOT!
>
> Can you figure it out or do I need to send you some code?
>
> -=ck
> "Programming in a state of Euphoria."
> <a
> href="http://www.cklester.com/euphoria/">http://www.cklester.com/euphoria/</a>
I'm not sure if I understand what you are doing, but you just changed the 'i'
variable. Is your sequence set up so that 'i' will be the same, or are you
changing
it on accedent? If i should be the same or should pull up a similar sequence,
I'll need to see your code to figure it out.
3. Re: Bug in Multiply-Dimensioned Sequence?
Damien Black wrote:
>
> cklester wrote:
> >
> > Rob, when I run the following code:
> >
> > ?plans[2][i][2][j][x][2]
> > i = find(list[t],plans[2][i][2][j][x][2])
> > ?plans[2][i][2][j][x][2]
> >
> > The printout of the plans[] sequence should be the same, BUT IT IS NOT!
> >
> > Can you figure it out or do I need to send you some code?
> >
> > -=ck
> > "Programming in a state of Euphoria."
> > <a
> > href="http://www.cklester.com/euphoria/">http://www.cklester.com/euphoria/</a>
>
> I'm not sure if I understand what you are doing, but you just changed the 'i'
> variable. Is your sequence set up so that 'i' will be the same, or are you
> changing
> it on accedent? If i should be the same or should pull up a similar sequence,
> I'll need to see your code to figure it out.
Oh, nevermind, you caught it...
Damien Black