Re: Source changes
- Posted by Derek Parnell <ddparnell at bigpond.?om> Jul 03, 2007
- 621 views
Juergen Luethje wrote: > > Derek Parnell wrote: > > However, because of the very nature of Euphoria's > > sequence paradigm, Euphoria coders must never assume that the length of a > > returned > > sequence will be anything specific. > > Huuu? > We must not assume that things work according to the documentation? Of course you should. The documentation clearly states that the first two elements returned contain those items you were testing for. It does not say that this function will never in the future return additional values So therefore one could code defensively and make sure you only check the first two elements, but even that doesn't mean that future library changes will never break your code. -- Derek Parnell Melbourne, Australia Skype name: derek.j.parnell