Re: procedures calling procedure calling procedure...
- Posted by rubis at fem.unicamp.br Oct 16, 2002
- 411 views
Thanks all for the answers and discussion about calling procedures. One interesting thing about euphoria is the possibility of making= =20 clear and structured codes, very diferent from BASIC, for example, where I= =20 started learning programming 20 years ago... I think it would be nice if euphoria had the option of calling a=20 procedure independently of its position in the program. Actually I was=20 expecting this feature to be "natural" in euphoria due to the=20 caracteristics of the language, so this is the reason why I asked about=20 other options to do this without using call_proc( ) and started this thread. Calling a procedure that is not before the call wouldn't turn the= =20 code into "basic with gosubs/gotos" because it is very easy to find the=20 procedures anywhere and the position of the procedure wouldn't change=20 anything in the code, except that you have to use call_proc( ). This is just the opinion of an Euphoria beginner, and perhaps it=20 would be good only for small codes( the codes I write :>) ), and not so=20 good for big codes. Abra=E7os, Rubens At 00:07 16/10/2002, you wrote: > >Thanks Robert. > > >> Robert, why is forward referencing not included in Euphoria? > > > >Define-it-before-you-use-it is ...[BIG SNIP] >--------- >Cheers, >Derek Parnell > > >