Re: A pitiful little question.
- Posted by JJProg at CYBERBURY.NET Jun 23, 1999
- 402 views
EU>ok, well I have an idea for my very first "program," if you can call it EU>that... I'd just like to print something, and then terminate the window EU>when the user presses a key. I know this is very very simple, but oh EU>well... I know almost nothing about Euphoria. Hopefully that'll change, EU>but for now, I'll be anxiously awaiting a reply. EU>Thanks, EU>Philip EU>PS- I know it has something to do with puts(1, "Type something here\") or EU>something like that, but when I do just that the program window flashes EU>on the screen for about .01seconds. if I keep on clicking on the program, EU>i can see that the words do indeed show up, it's just a matter of making EU>the window stay there until a key is pressed. hmm EU>___________________________________________________________________ EU>Get the Internet just the way you want it. EU>Free software, free e-mail, and free Internet access for a month! EU>Try Juno Web: http://dl.www.juno.com/dynoget/tagj. Use get_key() like so: puts(1,"Press any key to end the program.") while get_key() = -1 do end while Jeffrey Fielding JJProg at cyberbury.net http://members.tripod.com/~JJProg/