Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

issue with transcript instruction in Pharo

Tags:

pharo

I have downloaded Pharo 6.0 and trying to follow up his famous or "infamous" book Pharo by Example (I call it like that because the books they give at their documentation page is never in syntony with the programming language)

In the book it says to open a playground and put the following instruction:

Transcript show: 'hello world'; cr.

I have selected the instruction and selected Do It, but nothing happens, only appears to press Ctrl+D as a shortcut and nothing more. I suppose that it should appear the Workspace with the message on it, but it is not working.

Any help with this?

like image 948
Little Avatar asked Jan 21 '26 11:01

Little


1 Answers

It seems you have skipped a step.

From PBE 5 (http://files.pharo.org/books/updated-pharo-by-example/ )

Section 2.8

Let us start with some exercises:

  1. Close all open windows within Pharo.
  2. Open a Transcript and a Playground/workspace. (The Transcript can be opened from the World > Tools > ... submenu.)

and then further down the page

Type the following text into the playground:

Transcript show: 'hello world'; cr.

the section also explains what both Transcript and Playground is.

like image 118
Peter Uhnak Avatar answered Jan 24 '26 11:01

Peter Uhnak