I'm currently learning Pharo through the Pharo MOOC, and in the lecture "3.8 Stream Overview", we are presented the following example of a stream operation used to create files:
| stream |
stream := 'hello.txt' asFileReference writeStream.
stream nextPutAll: 'Hello Pharo!'.
stream close.
I executed this code snippet in playground, then I looked the folder where I installed Pharo, under ~/src/pharolauncher in Ubuntu 20.04, to check if the file was created, but it was nowhere in the folder or its subfolders.