With:(out) global and/or local ??!
- Posted by Ralf Nieuwenhuijsen <nieuwen at XS4ALL.NL> Feb 20, 1998
- 763 views
There has always been, ONE strange thingie that got to me. with and without are always global (instead of local) And are overriding. If an program component (thus your main .ex or any include file: .e) doesn't specify, then the defaults are used, unless with/without was set globally.. As for safe crash guard, here's a new idea.. You can specify a crash program, and the vars to be transferred. If the program crashes, then another program is started, and the function euphoric_arguments () returns all var's selected (in a sequence, in the order they were selected) I for one, want the option to initiate a new program without starting another ex.exe, and I want to pass euphoric arguments. Something like: ? run_program ("my_program.ex", {x,y,z}) And the crash_arguments or the return arguments are the arguments that will be returned to the parent program. If there is no parent program, they'll be saved in program_name.log (very easy, don't you think ?) So these routine: object = run_program ( program_name, object) object = euphoric_arguments () set_crashguard (program_name) -- which can retrieve the euphoric arguments It's now safe, inabusable, and this shouldn't be too hard to implant. (or not ??) Ralf nieuwen at xs4all.nl ----------------------------- Some people have a quote, and some people are quoted