#30 error in example in step 21/24

Closed
opened 8 years ago by nero · 0 comments

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. ```
Sign in to join this conversation.
No Label
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.