summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMax Schumacher <maximilianbschumacher@gmail.com>2020-07-07 11:52:34 +0200
committerGitHub <noreply@github.com>2020-07-07 11:52:34 +0200
commit4935d77792d3688c17c119ad2b59d6927a0e72d8 (patch)
tree420f1735a404ea6ff972a9c7801eb5f351febb24
parent7ee221453fb8e57210516564b9003ce95d92cacb (diff)
parent34ac05a9e7e4bbb6906f8b85862a6b0a36d68d2e (diff)
Merge pull request #3960 from fujimura/patch-1
[smalltalk/en]Fix symbol concatenation example in Smalltalk
-rw-r--r--smalltalk.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/smalltalk.html.markdown b/smalltalk.html.markdown
index d6d369cc..58dccae4 100644
--- a/smalltalk.html.markdown
+++ b/smalltalk.html.markdown
@@ -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"