+atari2600land Posted May 7, 2010 Share Posted May 7, 2010 (edited) Why won't bB let me do the following: if b=c/2 && !a{1} then m=3 I tried it both with and without the div_mul.asm and it doesn't like it. I thought you could divide by two pretty easily, which is what I'm trying to do here. edit: Sorry to have edited this so many times, but I had to because it went all crazy and added a whole bunch of garbage when I tried to use the code tags. Edited May 7, 2010 by atari2600land Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted May 7, 2010 Share Posted May 7, 2010 Check out the Did You Know? box here: http://www.randomterrain.com/atari-2600-memories-batari-basic-commands.html#if The NOT ( ! ) operator may only be used with statements that do not include OR (||) or a comparison token (such as =, <, >, or <>). See if this works: temp5 = c / 2 if b = temp5 then if !a{1} then m=3 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.