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

Quitting a script - test panel vs console

 [1/3] from: arolls::bigpond::net::au at: 9-Nov-2000 0:18


There was some discussion of this before I remember... I am trying to add a rebsite, this is why I am interested. I have some scripts with a "quit" button in them. I can use [quit], but this blows apart my rebol console, and I have to start again. I can use [unview/all halt], but when the script is run from the rebol test panel, it leaves behind a console. This is a 'context problem, right? I am pretty sure you guys out there know... C'mon, out with it. Anton ;)

 [2/3] from: ptretter:charter at: 8-Nov-2000 12:00


What about the exit command if its a function.

 [3/3] from: arolls:bigpond:au at: 9-Nov-2000 14:37


Paul, No, tried 'exit already. example: [ view layout [button "quit" [quit]] ; say goodbye to your console session ; only a problem if launched from the console. ] example2: [ view layout [button "quit" [unview/all halt]] ; say hello to your console session ; only a problem if launched from the test panel ] Anton. Paul wrote: