Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Forth 中有一个简单的局部变量:
: subtraction { a b } a b - ;
我想分配的输出
a b -
到另一个变量,比如 c。
这可能吗?
TO适用于VALUEs 和局部变量,因此:
TO
VALUE
: subtraction { a b | c -- } a b - to c ;