I needed to know what language that is written in. Turns out it's something called FOCAL, as mentioned in this article about the game:
https://retro365.blog/2021/12/02/bits-from-my-personal-colle...
Wikipedia on FOCAL:
https://retro365.blog/2021/12/02/bits-from-my-personal-colle...
Wikipedia on FOCAL:
Also, the IF syntax is a little limiting and hard to read, although I suppose programmers would get used to it.
My
Dear
Aunt
Sally
vs. My Dear
Aunt Sally
debate. :)M*G/Z*K
I think you meant, the above and
M*G/(Z*K)
respectively.And the "DO" command takes a group number, runs each line within the group, then returns after the end of the group. So each group can effectively act as a subroutine. (In this particular game, this can be seen in groups 6 and 9.)