1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-11 17:24:29 +02:00

Merge pull request #3960 from fujimura/patch-1

[smalltalk/en]Fix symbol concatenation example in Smalltalk
This commit is contained in:
Max Schumacher
2020-07-07 11:52:34 +02:00
committed by GitHub

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"