kaiser-ruby icon indicating copy to clipboard operation
kaiser-ruby copied to clipboard

Can't seem to set variable to other variables

Open PanoramicPanda opened this issue 6 years ago • 1 comments

Expected I can use the keywords 'it' (and others) to refer to the last declared variable, and store it in other variables.

Result Using the keywords just uses poetic literal numbers

Code:

Listen to the heartbeat
my heart is it
shout the heartbeat of my heart

Input: 4 Expected output: 16 (4x4) Actual output: 8 (4x2)

PanoramicPanda avatar Jun 21 '19 19:06 PanoramicPanda

Hey, thanks for the report, I'll look into it later today or tomorrow as I'm still a bit busy with other things. It's possible that I just missed it somehow as it looks like it should work as expected.

marcinruszkiewicz avatar Jun 24 '19 09:06 marcinruszkiewicz