A new version of Help-Squeak-TerseGuide was added to project The Inbox:
http://source.squeak.org/inbox/Help-Squeak-TerseGuide-jr.13.mcz==================== Summary ====================
Name: Help-Squeak-TerseGuide-jr.13
Author: jr
Time: 7 December 2019, 9:21:46.658998 pm
UUID: 7d846785-0ca0-3840-9489-59de4e607cca
Ancestors: Help-Squeak-TerseGuide-mt.12
Old-style assignment should not be the first thing a newcomer should learn.
Edited the page directly in the HelpBrowser. It added the parentheses and the key: and shouldStyle: sends.
=============== Diff against Help-Squeak-TerseGuide-mt.12 ===============
Item was changed:
----- Method: TerseGuideHelp class>>assignment (in category 'pages') -----
assignment
"This method was automatically generated. Edit it using:"
"TerseGuideHelp edit: #assignment"
+ ^(HelpTopic
- ^HelpTopic
title: 'Assignment'
contents:
'| x y z |
- "x _ 4. " "older assignment style, Squeak used to repurpose the underscore to a left-arrow glyph <-"
x := 5. "assignment"
x := y := z := 6. "compound assignment"
x := (y := 6) + 1.
+ "x _ 4. " "older assignment style, Squeak used to repurpose the underscore to a left-arrow glyph <-"
x := Object new. "bind to allocated instance of a class"
x := 123 class. "discover the object class"
x := Integer superclass. "discover the superclass of a class"
x := Object allInstances. "get an array of all instances of a class"
x := Integer allSuperclasses. "get all superclasses of a class"
x := 1.2 hash. "hash value for object"
y := x copy. "copy object"
y := x shallowCopy. "copy object (not overridden)"
y := x deepCopy. "copy object and instance vars"
y := x veryDeepCopy. "complete tree copy using a dictionary"
+ !!' readStream nextChunkText)
+ key: #assignment;
+ shouldStyle: true;
+ yourself!
- !!' readStream nextChunkText!