Re: A nice window vs Win console
- Posted by jbrown105 at speedymail.org Jul 27, 2003
- 506 views
On Sun, Jul 27, 2003 at 12:17:04PM -0400, jbrown105 at speedymail.org wrote: > > > On Sat, Jul 26, 2003 at 09:43:43PM +1000, mistertrik at hotmail.com wrote: > > > > > > >From: jondolar <lavigne.s at videotron.ca> > > > > > >As far as I understand, all output produced by Euphoria code that I > > >write goes to the Windows console...unless I code myself a window with > > >IDE for example and incorporate that code in my program and use special > > >procedures with things like SetPenPos, wPuts etc. to output my stuff on > > >a decent looking screen. This should be handled internally by euphoria > > >with a different parameter. With puts(4,x) for example, the 4 would > > >indicate that I want my output to a simple full screen window. > > > <snip> > > For puts() and friends, you could just do this: > > global constant WINDOWHANDLE = -4 <snip> I should also add that I chose to make WINDOWHANDLE -4 instead of 4 because 4 could be a valid file handle, but -4 cant be. jbrown -- /"\ ASCII ribbon | http://www.geocities.com/jbrown1050/ \ / campain against | Linux User:190064 X HTML in e-mail and | Linux Machine:84163 /*\ news, and unneeded MIME | http://verify.stanford.edu/evote.html