summaryrefslogtreecommitdiffhomepage
path: root/smalltalk.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'smalltalk.html.markdown')
-rw-r--r--smalltalk.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/smalltalk.html.markdown b/smalltalk.html.markdown
index fd40afe9..a253df55 100644
--- a/smalltalk.html.markdown
+++ b/smalltalk.html.markdown
@@ -186,7 +186,7 @@ x := Float pi. "pi"
x := Float e. "exp constant"
x := Float infinity. "infinity"
x := Float nan. "not-a-number"
-x := Random new next; yourself. x next. "random number stream (0.0 to 1.0)
+x := Random new next; yourself. x next. "random number stream (0.0 to 1.0)"
x := 100 atRandom. "quick random number"
```
@@ -904,7 +904,7 @@ b := String isVariable. "true if has indexed
b := String isPointers. "true if index instance vars contain objects"
b := String isBits. "true if index instance vars contain bytes/words"
b := String isBytes. "true if index instance vars contain bytes"
-b := String isWords. true if index instance vars contain words"
+b := String isWords. "true if index instance vars contain words"
Object withAllSubclasses size. "get total number of class entries"
```