#30 error in example in step 21/24

已關閉
nero8 年之前創建 · 0 條評論

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. ```
nero7 年之前 關閉
登入 才能加入這對話。
未選擇標籤
未選擇里程碑
未指派成員
1 參與者
正在加載...
取消
保存
尚未有任何內容