0
要在阵列做一个报价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)
我在做什么错误?
是的,我知道我可以使用地图,但我选择每个原因也在于此:http://stackoverflow.com/questions/36047593/unpack-an-array-to-the-堆栈在运行时 – cat