Jump to content
IGNORED

Does dimming a score take up variables?


yuppicide

Recommended Posts

When I do the following:

 

dim rand16=z

 

I know I am taking up a variable. Z.

 

When I do:

 

 dim sc1=score
dim sc2=score+1
dim sc3=score+2

 

Does that take up 3 variables?

 

Besides being curious, I'm also asking because I'm trying to pinpoint my latest problem in a game. I'm currently using 23 variables.

Link to comment
Share on other sites

No, it does not.

 

You can dim the score along with any of the registers to any other name, and it doesn't use any variables. What I'd like to know is if we can dim individual bits of the registers, so we can create simple flags for things like sprite size and ball width.

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...