Re: A better way then just "$" -- !
- Posted by dm31 at uow.edu.au Sep 22, 2003
- 417 views
Personally, have . or .. just makes it plain hard to read. I don't really like the $ idea as much as say eos or end as it makes it harder for ppl how don't code in Eu to read the source without learning tha language, but havin dots used like that is insanely hard to read. I had to read you examples at least twice to get what dot was for what! Anyways, thats my *opinion*. Dan McG >Hi Al, > >How about the following proposal: > >The mark of the sequence end >is just '.' or '..' > >So: > >s[.] or s[..] is s[length(s)] >s[2...] or s[2....] is s[2..length(s)] >s[2..2.] or s[2..2..] is s[2..length(s)-2] >s[a..b.] or s[a..b..] is s[a..length(s)-b] >s[a...b.] or s[a....b..] is s[length(s)-a .. length(s)-b] > >or > >s[a.. .. b..] > >or > >s[a. .. b.] > >And you can use 'type sequence_with_L' thing >for the same result plus for actions with the separate >last elements just now, without waiting for 2.5 and >any affection of the common sequences or without >new key words and special characters in 2.5. > >Cool, no? > >Euphoria is good programming language! >The exclusively flexible starting solutions >and successful choice of the main design. > >Regards, >Igor Kachan >kinz at peterlink.ru > >--^---------------------------------------------------------- ------ >This email was sent to: dm31 at uow.edu.au > > >TOPICA - Start your own email discussion group. FREE! ------ > >