pacgreg #1 Posted December 18, 2013 After freeing up 4 variables by assigning certain things to bits, Vbb suddenly started giving me errors at the first like that sets the kernel. Did I forget something that needs to be there to assign bits? I could compile earlier today, but it stopped functioning after I started to add the bit{s}. Could someone help and/or give the code a quick lookover? Thanks! Greg Quote Share this post Link to post Share on other sites
+Random Terrain #2 Posted December 19, 2013 If you post it, I can take a quick peek and see if I notice a problem. Quote Share this post Link to post Share on other sites
pacgreg #3 Posted December 19, 2013 If you post it, I can take a quick peek and see if I notice a problem. Whoops, thought I did attach it. Gauntlet007.bas Quote Share this post Link to post Share on other sites
+RevEng #4 Posted December 19, 2013 The first problem is this line...if p1p{4}=4 && p1dc>5 && p1dc<15 && p1p{5} then player1color:You've used the {} notation correctly elsewhere, so I'll skip the lecture and just post the fixed line...if p1p{4} && p1dc>5 && p1dc<15 && p1p{5} then player1color: Same thing with this line... if collision(playfield,player1) then !p1p{6} If you mean to flip the bit, you need to use an assignment... if collision(playfield,player1) then p1p{6}=!p1p{6} Lastly, the player1color: list under the "ENEMY GUARDING" section has some code accidentally included in the color list. After fixing those up the code compiles and runs for me. 1 Quote Share this post Link to post Share on other sites
pacgreg #5 Posted December 19, 2013 Thanks so much RevEng, I would have glided over that again and again if you hadn't found it. Quote Share this post Link to post Share on other sites
+RevEng #6 Posted December 19, 2013 You're welcome! Quote Share this post Link to post Share on other sites