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

[REBOL] Re: Can a script run another script?

From: reboler:programmer at: 17-Dec-2001 22:17

Thanks Gregg, for pointing out the 'launch command. I hadn't noticed it before. It works great in simples scripts like ... view layout [button [launch %feedback.r]] But I have a larger script whose relevant contents boils down to this ... output: make object! [ file: %feedback.r ] view layout [ button "Do Script!" [ if script? output/file [ launch output/file ] ] ] The above works as a script unto itself, but within the larger script, I get the following error message... Launch can only be used by launcher programs in a REBOL/View Dialog Box. Since 'launch is undocumented, do you know what this error means?