要each
在数组中引用:
(scratchpad) { "3.1415" "4" } [ string>number ] each
3.1415
4
要在一个单词中执行此操作:
(scratchpad) : conveach ( x -- y z ) [ string>number ] each ;
(scratchpad) { "3.1415" "4" } conveach .
但这会引发错误:
The word conveach cannot be executed because it failed to compile
The input quotation to “each” doesn't match its expected effect
Input Expected Got
[ string>number ] ( ... x -- ... ) ( x -- x )
我究竟做错了什么?