+Gemintronic Posted July 28, 2018 Share Posted July 28, 2018 So, I find myself writing: if a = 0 then b{0} = 0 : goto after_acheck if a = 1 then b{1} = 0 : goto after_acheck if a = 2 then b{2} = 0 : goto after_acheck if a = 3 then b{3} = 0 : goto after_acheck if a = 4 then b{4} = 0 : goto after_acheck if a = 5 then b{5} = 0 : goto after_acheck if a = 6 then b{6} = 0 : goto after_acheck if a = 7 then b{7} = 0 : goto after_acheck after_aheck Because this doesn't compile: b{a} = 0 Is there something I'm not doing right? Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted July 29, 2018 Share Posted July 29, 2018 It says this on the bB page: "Also remember that a variable cannot be used inside of the curly brackets. A number must be used (0 through 7) unless special code is used." 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.