Binding selectively
- Posted by Ralf Nieuwenhuijsen <nieuwen at XS4ALL.NL> Apr 14, 1998
- 772 views
Robert, I wanne bind selectively. That means, a shrouded or binded program that contains all files except for example a highscore file or a settings file. Example: -- config.e global constant VIDEO_MODE = 19 global constant SOUNDBLASTER = { #220, 5, 0 } global constant SPEED = 10023 etc. -- this file should be in the directory with the binded program Then a setup program or something can be written in a later stage, that provides an interface to the file. Also updatable data can be distributed easily with this. Also I would like (but less important) to be able to run an Euphoria program from a binded program without the need of another ex.exe It would also be more efficiently if the code of ex.exe doesn't have to be in memory twice, and then the second time it is started it doens't need to initialize, which takes quite some time for something you wanne run a couple of times.. (a change directory clone in Euphoria would be *slow* how weird it may sound..) And again... provide support for LOCAL trace and type checking .. with trace -- Only works in this file, but overrides the global setting global with trace -- Works in all files, untill a local is set for that file, or a global is set anywhere.. Too many times, I wanne turn warnings off and on, without interfering with the program that might include my file! It gets really frustrated, a feeling I don't wanne have using Euphoria. Ralf Nieuwenhuijsen nieuwen at xs4all.nl