Re: Digest for EUforum at topica.com, issue 1098
- Posted by Euler German <efgerman at myrealbox.com> Jan 19, 2002
- 391 views
On 19 Jan 2002, at 16:12, Igor Kachan wrote: > > Hi Shawn, > > There are many standard types of loop in EU, > not just 2, for example, simplest ones : > > for i=1 to 10 do > .... > if n> 5 then exit end if > .... > if m > 1000 then return 5 end if --- from (loop and function) > .... > end for > ----------- > for i=2 to 10 by 2 do > .... > if n> 5 then exit end if --- from loop > .... > if m > 1000 then return end if --- from (loop and procedure) > .... > end for > ----------- > while i< 1000 do --- the first point of check > .... > i+=1 > if k> 15 then exit end if --- the second point of check > .... > end while > --------- > while 1 do --- extremly fast loop without check on this point > ..... > ..... > if condition1 then exit end if --- from loop > ..... > if conditionN then return end if --- from (loop and procedure) > ..... > end while > -------- > > Just try what you really want and you do not need > any Java loops or C loops or somewhat else from > the loops world. > > This is EU power -- ALL you want just in two main forms. > > Regards, > Igor Kachan > kinz at peterlink.ru > Hi Igor! Well, this is quite like I used to do in dBase and Clipper, programming routines in concentric laces, from inside out. I made many applications using Clipper and they all worked ok. The problem, I think, is that Euphoria is presented as a alternative to (Visual) Basic, and Basic is kind of a linear programming language. Don't you agree? Cheers! -- Euler -- Euler GERMAN Caixa Postal 232 35701-970 Sete Lagoas, MG BRAZIL +55-31-3773-3387 +55-31-3776-2924 +55-31-9945-7881 (cell phone) +1-309-419-0638 (fax/voice mail) PGP Key ID: 0x9F8267FE Termine seu trabalho mais cedo com EditPad Pro! Veja como em <http://www.EditPad.com.br> Faça uso dos esquemas de coloração de sintaxe do EditPad Pro! Existem diversos esquemas para download em nosso site. Estes esquemas estão disponíveis para várias linguagens (e dialetos), mesmo as mais exóticas. Ao adquirir o EditPad Pro, você poderá criar seus próprios esquemas e publicá-los em nosso site. Compre EditPad Pro e pague em REAIS (R$)! Informe-se em <vendas at EditPad.com.br>. EditPad Pro: você não pode ficar sem ele!