Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

do file - redefining quit

 [1/2] from: arolls:bigpond:au at: 12-Aug-2001 16:40


I've had a go at this kind of function. Go to my rebsite: Sites/Anton/Start The trick that Carl Sassenrath suggested is to redefine words like 'quit, 'view, 'halt etc, so that the script that is done does not take over full control. If it tries to quit, you have redefined quit not to actually quit so that it returns back to your calling program. I haven't made a seamless system, but it might give you some ideas.

 [2/2] from: hijim::pronet::net at: 12-Aug-2001 7:49


Hi Anton, What is your rebsite's url? I'd like to see how you've redefined quit. Carl's suggestion about view/new allows two scripts open at once, but closing the second script closes both. I'm just curious about this. It is probably not even a possible approach to testing a script. If the script has errors, both scripts will crash. It sure would be a nice feature if it could work though -- a quick way to test scripts you are writing. But if a bad script crashes the editor it's not much use. Jim Anton wrote: