#30 error in example in step 21/24

Geschlossen
vor 8 Jahren geöffnet von nero · 0 Kommentare

Originally at 2016-01-30T17:07:56Z by Michal Bernhard closed at 2016-01-30T20:32:58Z

http://amber-lang.net/learn.html in step 21/24 there is:

Array new
    add: 'Some text';
    add: 3.;
    yourself.

but it's evaluation ends with an error. There is erroneous . (dot) after 3 in third row. It should be:

Array new
    add: 'Some text';
    add: 3;
    yourself.

Originally at 2016-01-30T17:07:56Z by Michal Bernhard closed at 2016-01-30T20:32:58Z http://amber-lang.net/learn.html in step **21/24** there is: ``` Array new add: 'Some text'; add: 3.; yourself. ``` but it's evaluation ends with an error. There is erroneous **.** (dot) after 3 in third row. It should be: ``` Array new add: 'Some text'; add: 3; yourself. ```
nero hat vor 7 Jahren geschlossen
Anmelden, um an der Diskussion teilzunehmen.
Kein Label
Kein Meilenstein
Niemand zuständig
1 Beteiligte
Laden…
Abbrechen
Speichern
Hier gibt es bis jetzt noch keinen Inhalt.