Re: Output under win32forth turnkey
  Home FAQ Contact Sign in
comp.lang.forth only
 
Advanced search
POPULAR GROUPS

more...

 Up
Re: Output under win32forth turnkey         

Group: comp.lang.forth · Group Profile
Author: Rod Oakford
Date: Aug 10, 2006 07:16

Mark Carter wrote:
> J Thomas wrote:
>> Mark Carter wrote:
>>> I reated a small application in win32forth:
>>
>>> : go s" hello world" type cr bye ;
>>
>>> ' go turnkey hello
>>
>>> When I go to the console and type
>>> hello.exe
>>
>>> I don't see any output. What gives?
>>
>> I'm no expert in Win32forth, but before the experts arrive I want to
>> suggest
>>
>> : go s" hello world" type cr key drop bye ;
>
> That doesn't work, either.
>
> I type the hello.exe command from the console, rather than
> double-clicking on it. I wondered if it had something to do with the
> neeed to flush stdout, or something. But interestingly, the cosole
> window becomes deselected when I run hello.exe, suggesting that it's
> creating some kind of invisible window that then gets destroyed, or
> something.

By default the console is hidden. Usually applications would create
their own window.
This should work:

: go show-console s" hello world" type cr key drop bye ;
' go turnkey Hello.exe

Regards,
Rod
no comments
diggit! del.icio.us! reddit!