Re: Euphoria 2.5
- Posted by "Igor Kachan" <kinz at peterlink.ru> Jul 28, 2004
- 624 views
CK Lester wrote: ---------- > From: cklester <guest at RapidEuphoria.com> > To: EUforum at topica.com > Subject: Re: Euphoria 2.5 > Sent: 28 jul 2004 y. 22:22 > > Igor, your version of s[length(s)] doesn't > quite work perfectly... > > Run this: > -- start of code > include get.e > > sequence junk > > integer A_ > type sequence_with_length_A(sequence a) > A_= length(a) > return sequence(a) > end type > > sequence_with_length_A A_A, A_B, A_C > > A_A = "Hello" > A_B = "World" > A_C = "Goodbye!" > > ?A_A[A_] > ?A_B[A_] > ?A_C[A_] > > --end of code He - he, CK, this version above is yours one, it doesn't quite work perfectly... > Sure, you could define B_ and C_, Yes, good, this is my version ... > but what happens when you > have a billion sequences? :) I'll use the next EU weapon against a billion sequences ... :| Oh God, give today our bread of today! This phrase above is my translation of the famous Orthodox prayer - "Hleb nash nasushnyj dazshd' nam dnes'!" If you need some feature in October, not today, you do not need it at all, I think. Regards, Igor Kachan kinz at peterlink.ru