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

[REBOL] Re: Returning from calendar to parent script...

From: ronald:free at: 20-Apr-2002 21:27

Hi Carl, Friday, April 19, 2002, 11:25:02 AM, vous avez écrit: CR> On 19-Apr-02, Ronald Gruss wrote:
>> Hi Rebolers, >> How could I 'do the calendar.r script from within another script and >> return to this parent script after closing 'calendar ?
CR> I'm not sure what the calendar.r script is, but you can just do CR> another script from within a REBOL script and when the second script CR> ends the first script will continue on. Try running this little CR> script from the Console... CR> rebol [] CR> print "Parent script running..." CR> do %calendar.r CR> print "Parent script running again..." CR> HTH. Just tried your tip : works ok The I tested this script : REBOL [] view layout [button "calendar" [ print "Parent script running..." do %calendar.r print "Parent script running again..." ] ] When I clic on 'calendar button, I get two windows, one running 'calendar as expected and th second one (console), but with the text below : Parent script running... Parent script running again... and when I close one window, my script ends. How could I get the behaviour I'm looking for ? -- Best regards, Ronald