1. free_console() problem
- Posted by spent memory <spent.memory at gmail.com> Jan 23, 2005
- 490 views
Hi Forum, I am having a problem using free_console() in conjuction with prompt_string. My program calls up a console using a routine, checks the input of the prompt and then takes appropriate action based on the input then closes the console using free_console(). It works fine up to this point. However when i attempt to open the console using the same routine a second time it opens correctlly with the caret awaiting the input but i cannot type anything into it. Anyone have any idea what's goin on. Thanks
2. Re: free_console() problem
- Posted by Brian Broker <bkb at cnw.com> Jan 24, 2005
- 480 views
- Last edited Jan 25, 2005
spent memory wrote: > > Hi Forum, > > I am having a problem using free_console() in conjuction with > prompt_string. My program calls up a console using a routine, checks > the input of the prompt and then takes appropriate action based on the > input then closes the console using free_console(). It works fine up > to this point. However when i attempt to open the console using the > same routine a second time it opens correctlly with the caret awaiting > the input but i cannot type anything into it. Anyone have any idea > what's goin on. > > Thanks > What OS are you running? What version of Eu are you running? Are you using ex.exe, exw.exe, or exwc.exe? (or Linux?) Can you provide a small demo program that shows what you are doing? Thanks, -- Brian
3. Re: free_console() problem
- Posted by spent memory <spent.memory at gmail.com> Jan 25, 2005
- 497 views
ok i am running windows XP, Eu 2.5, i am using .exw extension on the program. Here is the code that is called by the routing global procedure getconsole() object msg msg = "" puts(1,"Console >> ") msg = prompt_string("") if equal(msg,"CLOSE") or equal(msg,"close") then free_console() end if getconsole() end procedure *this works fine the first time around, but if called up a second time i cant enter anything into the prompt.
4. Re: free_console() problem
- Posted by spent memory <spent.memory at gmail.com> Jan 25, 2005
- 489 views
sorry i have made a typo earlier i am using Eu 2.4 =) On Tue, 25 Jan 2005 15:24:41 +1000, spent memory <spent.memory at gmail.com> wrote: > > ok i am running windows XP, Eu 2.5, i am using .exw extension on the > program. Here is the code that is called by the routing > > global procedure getconsole() > > object msg > > msg = "" > > puts(1,"Console >> ") > > msg = prompt_string("") > > if equal(msg,"CLOSE") or equal(msg,"close") then > > free_console() > end if > > getconsole() > > end procedure > > *this works fine the first time around, but if called up a second time > i cant enter anything into the prompt. > >
5. Re: free_console() problem
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Jan 25, 2005
- 506 views
On Tue, 25 Jan 2005 15:24:41 +1000, spent memory <spent.memory at gmail.com> wrote: >i am running windows XP, Problem reproduced on win98SE, 2.3, 2.4 & 2.5a Pete