1. Re: we need official libs : Swap

David Cuny writes:
> subscript value 3 out of bounds, reading from length-2 sequence
> -- quick digression --
> While I'm on the topic, a quick request. Could the above
> error message be changed? Whenever I see this message,
> it looks like I have a sequence with a negative length,
> something that confused me dreadfully when I was
> learning Euphoria.
> -- end digression --

The message was changed already in v2.1.
Try this:

    sequence s
    s = {1,2}
    ? s[3]

"subscript value 3 is out of bounds, reading from a sequence of length 2"

Regards,
     Rob Craig
     Rapid Deployment Software
     http://members.aol.com/FilesEu/

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu