New Guy Posted December 6, 2010 Share Posted December 6, 2010 I started a new project in Visual Batari Basic, and both projects wont recompile, and ends up with a syntax error. Should I post the code I'm using to get some help. Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted December 6, 2010 Share Posted December 6, 2010 You need to post something. Either the code or what it said the error was. Quote Link to comment Share on other sites More sharing options...
PAC-MAN-RED Posted December 6, 2010 Share Posted December 6, 2010 I started a new project in Visual Batari Basic, and both projects wont recompile, and ends up with a syntax error. Should I post the code I'm using to get some help. That would be best. I'm sure one of the code wizards around here will help you. Quote Link to comment Share on other sites More sharing options...
New Guy Posted December 7, 2010 Author Share Posted December 7, 2010 (edited) I started a new project in Visual Batari Basic, and both projects wont recompile, and ends up with a syntax error. Should I post the code I'm using to get some help. That would be best. I'm sure one of the code wizards around here will help you. rem Generated 12/6/2010 4:34:59 PM by Visual bB Version 1.0.0.548 rem ********************************** rem *<filename> * rem *<description> * rem *<author> * rem *<contact info> * rem *<license> * rem ********************************** playfield: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ................................ ................................ ................................ ................................ ................................ ................................ ................................ ................................ ................................ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX end COLUBK = $C6 COLUPF = $26 player0x=50:player0y=50 player1x=20:player1y=20 player0: 011100 011000 011000 011110 011011 011000 011100 011000 end player1: %01000010 111100 %01000010 %01011010 %01011010 %01000010 111100 011000 end draw_loop drawscreen goto draw_loop I'm using a tutorial, and it stops working after I place the code for the characters. Edited December 7, 2010 by New Guy Quote Link to comment Share on other sites More sharing options...
RevEng Posted December 7, 2010 Share Posted December 7, 2010 ... COLUBK = $C6 COLUPF = $26 player0x=50:player0y=50 player1x=20:player1y=20 player0: 011100 011000 ... The lines above starting with "player" need to begin with a space or two. Quote Link to comment Share on other sites More sharing options...
abaudrand Posted December 7, 2010 Share Posted December 7, 2010 (edited) the problem should come from the players' data: player1: 0000000 0101010 1111111 1010101 0000000 0101010 1111111 1010101 end don't forget the indentation (the spaces before lining the 1 and 0) and the END is not indented players must be 8 width but of any heights Keep creating, you won't regret it. Edit change 0 and 1 (I forgot the playfield works with X and . :$ ) Edited December 7, 2010 by abaudrand Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted December 7, 2010 Share Posted December 7, 2010 (edited) Since the forum software mangles some data and can remove spaces, you might want to attach your .bas file to you post. Edited December 8, 2010 by Random Terrain Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted December 8, 2010 Share Posted December 8, 2010 . . . you might want to attach your .bas file to you post. In case you don't know how, here is a post about it: How to Attach a File at AtariAge Quote Link to comment Share on other sites More sharing options...
ColonelKernel Posted February 18, 2016 Share Posted February 18, 2016 Greetings, all. It seems this forum hasn't been touched in some time, but I have a dire question and I can't find any answers on the Internet after my hours of searching. A note before I list the problem: All of my files, Batari Basic, Visual BB, and DASM are up to date. Every time that I try to compile something it says that a syntax error is occurring at line 0 column 0. And this is with any text! It could be REM statement or even a blank, it doesn't change, and it's the only error that pops up. My .bas file is included default.bas Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted February 18, 2016 Share Posted February 18, 2016 Greetings, all. It seems this forum hasn't been touched in some time . . . You're posting in a thread that somebody else created back in 2010. You can post your own threads in the actual batari Basic forum here: atariage.com/forums/forum/65-batari-basic/ About the problem with your code, some of your lines are not indented. You can read more about that here: randomterrain.com/atari-2600-memories-batari-basic-commands.html#indent 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.