Jump to content
IGNORED

7800basic Error


BydoEmpire

Recommended Posts

I ran into a recent set of changes spamming tty with this:

 please report seeing this message.
*** (497): WARNING, there seems to be a problem. your code may not run properly. please report seeing this message.
...
*** (497): WARNING, there seems to be a problem. your code may not run properly. please report seeing this message.
^C^CTerminate batch job (Y/N)? y

d:\dev\a7800\7800basic\fantasy\fantasy7800>

 

Wondering what it means, but I suppose at the very least I'm reporting seeing it.  I haven't narrowed down the cause, but I wrote a big chunk of code last night. I'm starting to selectively comment out chunks to track it down...

Link to comment
Share on other sites

The warning dates back to the bB codebase, but I understand why it's showing. You're multiplying a value by a constant, and the interpreter doesn't know if it's a multiply by a power-of-two or not, so it's missing the ability to optimise the multiply.

 

For sure, just using "8" works. "def" should work too. It looks like I missed adding def to the 7800basic manual, so you can learn about it via the bB entry for it, for now.

  • Like 1
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...