Hello [EMAIL PROTECTED]!

On 09-Giu-00, you wrote:

 G> If I make a little test.r file that looks like this: Rebol [ ]
 G> print "test!"
 G> and then run it from the command line like this: rebol test.r
 G> I get a barely-perceptible flash like the window opened and
 G> shut real quick and then nothing.

 G> If I switch over to the rebol/core directory and do exactly
 G> the same thing, the test.r
 G> runs and the console window is open saying "test!" at the
 G> bottom just fine.

REBOL/Core and REBOL/View have a different behaviour in this case.
/Core goes to the prompt after running a script given as argument
in the command line, as if the script was ended by HALT; /View,
instead, quits as if the script was ended by QUIT. This is
intended behaviour, because a user running a GUI script does not
expect to see a prompt after quitting from it.

If you want REBOL/View to go to the prompt after running your
script, just end it with HALT.

HTH,
    Gabriele.
-- 
Gabriele Santilli <[EMAIL PROTECTED]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/

Reply via email to