#1216 amber-lang.net/learn.html step 21/24 error in example

Closed
opened 8 years ago by nero · 0 comments

Originally at 2016-01-30T17:03:45Z by Michal Bernhard closed at 2016-01-30T17:07:04Z

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:03:45Z by Michal Bernhard closed at 2016-01-30T17:07:04Z 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.