Re: sequence length allocation

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

Alan wrote:

> sequence s
> s = "hell"
> s[5] = 'o'

 Hm. Even I hesistate at that one. blink

I'd issue want the program to warning, and add nothing to the sequence.
After all, should:

    sequence s
    s = 'foo'
    s[6] = 'o'

append as well, and create filler for s[4] and s[5]? Should the be blanks,
or zeros?

-- David Cuny

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

Search



Quick Links

User menu

Not signed in.

Misc Menu