Re: New Euphoria features
- Posted by "Juergen Luethje" <j.lue at gmx.de> Feb 23, 2005
- 474 views
ZNorQ wrote: > IF I'm so lucky, I would wish for the following features; <snip> > #3; > AND the ability make references to source files in order to 'build' a > complete main source code for compiling/running; IE, > > -- CODE. > #INSERT c:\euphoria\source\myFunction.txt > -- MORE CODE. > #INSERT c:\euphoria\source\myProcedure.txt > -- EVEN MORE CODE. > > This should load the 2 textfiles into the main source code and THEN > execute it. You might say - why not use include?? Well, sometimes > the code have to be at a specifc position in the source, and it might > be large and give a poor overview over the main code. In that case I > would cut it out - put it in an own separate file and just refer to > it as shown above. Some might say this is messy, and that might be true > too, but it's something I'd like to see in Euphoria. > > Kenneth aka ZNorQ You can already do this, using the insert command of my preprocessor EuKa <http://www.rapideuphoria.com/euka.zip>. It would look like this: -- CODE. ~$c:\euphoria\source\myFunction.txt~ -- MORE CODE. ~$c:\euphoria\source\myProcedure.txt~ -- EVEN MORE CODE. Regards, Juergen