3 ms·
Wow that is cool. Pass by name. I always wanted to try it.
by lanstin 11mo ago
Wow that is cool. Pass by name. I always wanted to try it.
- Y_Y 11mo agoJust pass a string and `eval` it.
- Taniwha 11mo agoAlgol60 had call by name, Algol68 doesn't really, it does have "proceduring" which creates a function to call when you pass an expression to a parameter that's a function pointer that has no parameters, you can use that to sort of do something like call by name but the expense is more obvious