Fwd: how to get arg and print on the output

Andreas Raab andreas.raab at gmx.de
Tue Aug 15 05:59:16 UTC 2006


David T. Lewis wrote:
> On Mon, Aug 14, 2006 at 04:53:48PM -0700, Andreas Raab wrote:
>> st?phane ducasse wrote:
>>>>> On recent  versions of VW:
>>>>>  Stdout nextPutAll: 'Helo World'; flush
>>>
>>> Can we get the same in squeak?
>> I'll eat my hat if works on Windows - a GUI program has no stdout so 
>> that such an invokation (unless done from a special "command line VM") 
>> simply cannot have any useful effect.
> 
> I don't know about VW, but it works fine on Windows with Squeak(*).
> Standard output goes to the console, so you can open a console and
> write to standard output. The console conveniently displays itself
> in a separate window, and behaves more or less as you might expect.
> The console window can be opened and closed as needed.

But what would be the point of that? The main use of stdout and stdin 
lies in the ability of doing I/O redirection. Creating new consoles 
(which is admittedly trivial) is not helping with that.

Cheers,
   - Andreas



More information about the Squeak-dev mailing list