#30 error in example in step 21/24

Fermé
Créé il y a 8 ans par nero · 0 commentaires

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. ```
Connectez-vous pour rejoindre cette conversation.
Pas d'étiquette
Aucun jalon
Pas d'assignataire
1 Participants
Chargement…
Annuler
Enregistrer
Il n'existe pas encore de contenu.