Jump to content
IGNORED

a{b} doesn't work?


Gemintronic

Recommended Posts

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?
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...