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