Exiting from a program
- Posted by Tom Dailey <thomasdailey at comcast.net> Jan 05, 2006
- 453 views
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