Y
Hacker News
new
|
ask
|
show
|
jobs
by
igouy
2705 days ago
> I just want a "hello world" example to get an idea what I am actually dealing with.
iirc
something like —
FileStream stdout nextPutAll: 'Hello, world'; cr.
1 comments
scroot
2705 days ago
You can do something like: `Stdio stdout nextPutAll: 'Hello, World!'.`
link
igouy
2704 days ago
Are you suggesting that `FileStream stdout` doesn't work, or that using `Stdio stdout` is in some way better, or that `nextPutAll:` will add a newline, or that … ?
link
scroot
2704 days ago
I think `FileStream` is deprecated in the new version of Pharo.
link
igouy
2703 days ago
Thanks.
link