Euphoria feature request
- Posted by "Philip Deets" <philip1987 at hotmail.com> Dec 09, 2003
- 471 views
I wish for a procedure include( filename ) that would work the same as the current way to include files. This way in my editor I'm making, I can have a subdirectory (in the directory with the editor in it) called extentions, it will have an include file for each file extention the end-user wants to be able to edit. I would need have a include procedure to do this because I do not know if the user downloaded support for only 2 extentions or 50 extentions. One alternative I could do would be to run dir() on the extentions directory, get the list of files to include, have my editor make a file called includes.e, write include statements for all those files to include, then include includes.e. But if I did that, I wouldn't be able to bind it because I would be making euphoria code. Maybe I could just keep a copy of the eu source code in a sequence in the executable file, and when I wrote the includes.e file, I could make my .exw source file for the editor then re-bind it, delete all the source files, then delete the editor that is running, start the newly made editor, maybe I could just do it silently so the user wouldn't notice. What do you think I should do about it? Thanks, Phil