Sequence trouble

new topic     » goto parent     » topic index » view thread      » older message » newer message

Eumura, you wrote:
> Sometime past, I did some sequence tests, and I found that if I declare a
>sequence, and put each value, like sequence[1]=xxx, sequence[2]=aaa, ex.err
>returned that the sequence value was zero!!

I'm not exactly clear on the situation you are describing, but if you are
doing this . . .

     sequence s

     s[1] = 5
     s[2] = 4

     . . . then you will definitely get an error because the sequence has
not been initialized, only declared, and so it does not actually *have*
element 1, 2, etc. yet.
     That shouldn't give an error return of s = 0, but it will say this (in
ex.err):
     s = <no value>


Craig

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu