Re: How do I stop the DOS window from closing
- Posted by bernie Jul 15, 2009
- 983 views
pat_block said...
Hi all,
I've messed around with a few other languages over the years, purely for fun, and was quite excited when I started reading about euphoria. But I'm finding it frustrating getting started because every time I run a simple program (e.g. HELLO WORLD) via double clicking it, I never actually get to see the result, because as soon as it finishes, it's gone! Now, I know I could use a DOS box, but it's so clumsy navigating to where the program is every time I want to check a small change. There must be a way to keep the DOS window open until I want it to close.
Any help would be greatly appreciated.
Thanks
Place this at end of program.
-- This will keep dos window open until you hit a key. if getc(0) then end if