Talk:Forþ
Jump to navigation
Jump to search
Rotation
Move the third element to the top, the top element to the second, and the second element to the third. Jan Gamecuber (talk) 11:26, 12 May 2022 (UTC)
- By storing a function in a number, does any instance of that number act as that function? In other words, would
0{,o[.]}11-;
still act as a Cat program?
Semicolon calls the top of the stack as a function. So in that context, yes, the code you wrote would act as a cat function. Jan Gamecuber (talk) 12:51, 13 May 2022 (UTC)
- Do any of the commands (in particular
+-*/%~.;
) consume their inputs, e.g. would11+
result in a stack of one element or three elements?
All of those consume their inputs. Jan Gamecuber (talk) 12:51, 13 May 2022 (UTC)
- Bangyen (talk) 13:15, 12 May 2022 (UTC)
- Does the command
/
perform integer division?