IGNORED

# variables must be <\$100!

## Recommended Posts

So is there any way I can make one equal 3600? 'Cause if I try to put in

if t=3600 then goto 270

it gives me the warning in the topic title.

##### Share on other sites

You really, really need to read HELP.HTML, it comes with bB. I understand that you preferred to just jump into coding, but just reading through that file will answer virtually every question you've posted in this forum, and it's written in a way that's very easy to understand.

Although variable values can contain 0-255, the numbers will wrap if 255 is exceeded.

To use larger numbers, you have to use fractions. Open help.html and click on Fixed Point Variables, when you read through the kind of long-winded explanation of how they work, you'll see how to solve your problem.

edit:

Another way to do this if you aren't comfortable with fixed point variables yet is:

s = s + 1

if s = 200 then t = t + 1 : s = 0

if t = 18 then goto 270

Edited by MausBoy
##### Share on other sites

I read that section and it's all Greek to me. Maybe I'm a little stupid when it comes to understanding 2600 programming, but it's hard to comprehend all this. It's a miracle that I've done what I already did.

BTW, thanks for the alternate code.

Edited by atari2600land

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

×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.