Jump to content
IGNORED

Compiler error about data


atarifan2600

Recommended Posts

When I type in a data statement and compile, for example:

 

 

data song

23,23,21,21

end

I get this:

 

2600 Basic compilation failed!

LINE -->Microsoft Windows [Version 6.1.7601]

Copyright © 2009 Microsoft Corporation. All rights reserved

How can Windows be a syntax error? That doesn't make any sense at all!

 

Can you help me with this problem please?

Link to comment
Share on other sites

I don't know how to attach a file! How do I do that?

 

There is a list of useful links here that you might want to check out:

 

randomterrain.com/atari-2600-memories-batari-basic-commands.html#atariage_links

 

 

One of those links jumps to this thread:

 

How to Attach Files and Images

Link to comment
Share on other sites

It's probably because you don't have drawscreen in your loop:

 

why_not_data_2014y_12m_28d_0928t.bas

 

why_not_data_2014y_12m_28d_0928t.bin

 

 

[i see that atari2600land already said that.]

 

 

Are you using the latest version of batari Basic:

 

randomterrain.com/atari-2600-memories-batari-basic-commands.html#gettingstarted

Link to comment
Share on other sites

How odd! You compiled it and it worked, I compiled your same code; and it didn't work! I am using visual batari Basic build 558.

 

Did you click on my link above? Here it is again:

 

randomterrain.com/atari-2600-memories-batari-basic-commands.html#gettingstarted

 

Visual batari Basic is just an IDE. It makes batari Basic easier to use.

Link to comment
Share on other sites

So what do I do? I don't understand what you mean.

 

Are you saying I should use batari Basic and not visual Batari basic or something?

 

Did you click on the link and read the words in the Getting Started section? Visual batari Basic uses whatever version of batari Basic that you make it use. If you're using an old version of batari Basic with VbB, it will work, but you may have problems when compiling because improvements have been made to batari Basic over the years and what works now may not work with an old version of batari Basic.

Link to comment
Share on other sites

I wouldn't change my bB compiler, because my settings in visual bB haven't been changed in 2 years...

 

If I change it, will the registration file change as well? (sorry if I'm being silly, but I don't like old files being changed :s)

I change to the latest version of batari Basic every time there is an update and point VbB to it on the settings page and I haven't had any problems so far.

 

Now that we can double click on install_win.bat to set bB's path and environment variable, that seems to eliminate the need to click the boxes for Add bB Environment Variable and Add bB Compiler to System Path on the settings page.

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