Explorar o código

Merge pull request #27 from mockturtl/patch-1

fix syntax error
Hannes Hirzel %!s(int64=9) %!d(string=hai) anos
pai
achega
51a890d2ef
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/TrySmalltalk.st

+ 2 - 2
src/TrySmalltalk.st

@@ -121,7 +121,7 @@ ProfStef next.'
 !
 
 basicTypesCharacters
-	^ Lesson
+	^ Lesson
 title: 'Basic types: Characters' 
 contents: 
 '"A Character can be instantiated using $ operator:"
@@ -351,7 +351,7 @@ For example, let''s create an instance of the class Array:"
 
 Array new
 	add: ''Some text'';
-	add: 3.;
+	add: 3;
 	yourself.
 
 "See the array we''ve created? Actually, #(''Some text'' 3) is just a shorthand for instantiating arrays."