Page 1 of 2

Re: BasinC oddnesses

Posted: Sat Aug 17, 2019 7:14 pm
by Fahnn
OK, here's an odd one. I've been messing with something for the last couple of days and saving it as a .bas file. Everything was fine, the file was saved and re-opened probably ten times or more with no problems, until today. Attempting to open it does nothing, there is apparently no program.

It's not actually a problem as I have a .txt listing of what I'd written so far (interestingly, I got this from uploading the .bas file and then trying to download it; instead of a download, I got a text listing of variables from its last run and then the entire program, which was helpful).

I'm a little bit wary of using BasinC again if this kind of thing is going to happen. Prior to this I'd only had lines going missing (or randomly re-numbered) and I could deal with that, but potentially losing entire programs is another issue (even though it's possible to get them back, it's a pain to have to do that). It's a shame because I think it's generally a really great environment for writing BASIC.

Tell me what I'm doing wrong. I must be doing something wrong.

Re: BasinC oddnesses

Posted: Sat Aug 17, 2019 7:44 pm
by hikoki
Did you rename the file with a really long name?
Something like that happened to me after renaming, Basinc erased the content not only in ram but also on the saved file.

Re: BasinC oddnesses

Posted: Sat Aug 17, 2019 7:59 pm
by Fahnn
hikoki wrote: Sat Aug 17, 2019 7:44 pm Did you rename the file with a really long name?
Something like that happened to me after renaming, Basinc erased the content not only in ram but also on the saved file.
Nope, it was called "d".bas. Maybe too short names also mess it up!

Re: BasinC oddnesses

Posted: Sun Aug 18, 2019 8:08 am
by ASH-II
As the author of BASin has said it might have a few bugs and it will be fixed but not yet (and he is hinting it will be merged into a shiny new Spin :) )

so if you are having an issue with saving then save as a .bas and before you exit basin just copy the text into notepad and save that.
if the .bas fails (1 in 10 chance) then paste the text from the saved notepad. nothing has been lost.

As you yourself say the advantages to using BASin far outway a little save/load glitch.

Re: BasinC oddnesses

Posted: Sun Aug 18, 2019 2:36 pm
by llewelyn
Mine won't work at all and I don't know why. I downloaded it, installed it into my Programs folder and it comes up when clicked but all the directories show up as names, such as 'welcome' but have a question mark where the icons are and clicking on them gets an empty screen! Its been unzipped properly and checking file size shows that there's something there alright. So frustrated, I just leave it in place, hoping someday perhaps I'd find a solution.

Oddly enough the first time I used it a couple of years ago, it all worked properly! Computer weirdness beyond my ken.

Re: BasinC oddnesses

Posted: Sun Aug 18, 2019 5:59 pm
by Fahnn
ASH-II wrote: Sun Aug 18, 2019 8:08 am As the author of BASin has said it might have a few bugs and it will be fixed but not yet (and he is hinting it will be merged into a shiny new Spin :) )

so if you are having an issue with saving then save as a .bas and before you exit basin just copy the text into notepad and save that.
if the .bas fails (1 in 10 chance) then paste the text from the saved notepad. nothing has been lost.

As you yourself say the advantages to using BASin far outway a little save/load glitch.
Yes, I'll persevere, as it really is a fantastic tool for writing BASIC. Knowing that the listing can be retrieved from a non-working .bas file certainly makes it easier to deal with any potential errors of this kind that might happen in the future. Fingers crossed it doesn't become a regular thing though!

Re: BasinC oddnesses

Posted: Sun Aug 18, 2019 7:57 pm
by ZXDunny
You might like to send me the offending .bas file for examination. When I do eventually get around to working in BASin again I can fix the issue.

[email protected]

Re: BasinC oddnesses

Posted: Sun Aug 18, 2019 8:35 pm
by hikoki
ZXDunny wrote: Sun Aug 18, 2019 7:57 pm You might like to send me the offending .bas file for examination. When I do eventually get around to working in BASin again I can fix the issue.

[email protected]
[mention]ZXDunny[/mention] please try this, rename a .bas file with a very long name and open it with Basin