Re: EOF and GOTO and 0th array element
- Posted by jbrown105 at speedymail.org Aug 22, 2002
- 549 views
On 0, Derek Parnell <ddparnell at bigpond.com> wrote: > > > 3. in BASIC an array can be created with 0th (zeroth?) element in any > > dimension, but I don't see how you can do that in a sequence. Can one > > set up a Euphoric equivalent to such an element in a sequence? > > No. Euphoria uses a 1-based index philosophy. The first element in a series > is always 1. > > Oh, except for routine_id(). Yes, routine_id() starts at 0. > > Oh, and open() as well. open() starts at 3, I think. (0, 1, and 2 are stdin, stdout, and stderr, although the situation is slightly different with Linux due to ncurses. (ncurses seems to like to redirect stdout to stderr on occasion, I'm not sure why, among other things.)) jbrown -- Please don't use http://fastmail.fm (I like feeling special.)