Home Segments Index Top Previous Next

355: Mainline

Similarly, you can set the value of a global variable using an at:put: message, with a literal key, or you can use an assignment expression, as in the following examples:

Workspace
Smalltalk at: #FatRatio put: 8. 
FatRatio := 8.