Home Segments Index Top Previous Next

50: Mainline

You can cause several expressions to be evaluated in sequence, with a single selection and mouse click, if you separate those expressions by periods:

Workspace
Transcript show: 'The number of calories is '. 
Transcript show: (194 * 9) printString. 
Transcript cr 
Transcript 
The number of calories is 1746 

Each expression thus separated is called a statement.