Fix symbol concatenation example in Smalltalk

This commit is contained in:
Daisuke Fujimura 2020-06-20 13:17:12 +09:00 committed by GitHub
parent ef04802863
commit 34ac05a9e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -388,7 +388,7 @@ y := $A max: $B.
```smalltalk
| b x y |
x := #Hello. "symbol assignment"
y := 'String', 'Concatenation'. "symbol concatenation (result is string)"
y := #Symbol, #Concatenation. "symbol concatenation (result is string)"
b := x isEmpty. "test if symbol is empty"
y := x size. "string size"
y := x at: 2. "char at location"