Exiting from a program

new topic     » topic index » view thread      » older message » newer message

I just downloaded and installed Euphoria on my Linux box,
and I've written my first program -- a factorial function. 
In my source file, printfact.exu, I have the function
definition, followed by "? factorial (5)". When I enter the
shell command "exu printfact.exu", the answer, 120, is
printed, but then exu enters an interactive mode, printing
out "Press Enter...". I just want it to print the answer and
exit (back to the shell). How do I do this?

Thanks,
Tom Dailey

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu