Re: sequences and string, thought I understood!
- Posted by Kat <gertie at PELL.NET> Mar 16, 2001
- 448 views
On 16 Mar 2001, at 0:32, jc at cknet.net wrote: This is about all i could get from your email, it was filled with non-printable ascii codes that Pegasus interpreted as page breaks and other stuff..... > Trying to assign varray a sequence of sequences, EU apparently sees this as > nothing more than a plain jane sequence of ascii codes. 'cmd Command_line()' > returns a > sequence of sequences which I can parse through with cmd[i] giving me one word > at a time. > However when I create what I see as the exact same structure, using a For > loop, it appears > EU sees this as a sequence of single value ascii codes. A sequence is just that, a sequence of bytes, ascii or otherwise. How you see them depends on how you print them. Did you look up the various methods of printing i mentioned in the earlier email? Kat