+Karl G Posted January 28, 2019 Share Posted January 28, 2019 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 1 Quote Link to comment Share on other sites More sharing options...
+mksmith Posted January 29, 2019 Share Posted January 29, 2019 (edited) 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 January 29, 2019 by mksmith Quote Link to comment Share on other sites More sharing options...
+Karl G Posted January 29, 2019 Author Share Posted January 29, 2019 Thanks for trying it. I should also note that this isn't something that I need to resolve, but it seems to be a bug. Quote Link to comment Share on other sites More sharing options...
+mksmith Posted January 29, 2019 Share Posted January 29, 2019 (edited) 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 January 29, 2019 by mksmith 2 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.