Jump to content
IGNORED

Crash when compiling this


Karl G

Recommended Posts

This is just a simple musicplayer I made to test music Maggie has made. It normally compiles fine, but it crashes when attempting to with the current data. It doesn't give any syntax errors; it just crashes. bblint doesn't find any issues with it. Does it compile for anyone else?

 

Oh, btw, feel free to use the code from the musicplayer however you like if you happen to find it useful to test or play your own music (not that it's anything special, mind you).

 

 

 

musicplayer.bas

  • Like 1
Link to comment
Share on other sites

Karl,

 

Using my VS Code module I get error 'Cannot open includes.bB for reading'. (never mind I thin maybe an issue on my computer).

 

Using Visual bB it appears to compile as you say but doesn't - the .bin is empty.

Edited by mksmith
Link to comment
Share on other sites

Yeah I think it might! I tried moving the __init_music block to the end of the code (and replaced the goto with a return) and added added a gosub __init_music and it works!

 

Nice little tune also! See attached!

musicplayer.bas

Edited by mksmith
  • Like 2
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...