Don't start from scratch, and don't use C64 BASIC! That one is well known for being almost impossible to get anything done with - most coders on the 64 went pretty much straight for machine code. C64 BASIC was created by microsoft, so that should give you an idea of the quality you can expect!
Hahaha, right-o. I thought that that only applied to the disk-drive add-on, not C64 BASIC itself. Yep, that does surely explain a lot of its bizarreness and counterintuitive points (such as the bizarre abbreviations, including being able to use a question mark in place of PRINT). :lol:
Get yourself a decent BASIC that runs on the PC in linux, and start with that. You'll have lots of web resources at your fingertips in an environment you understand. There are hundreds of them out there that you can choose from, and some of them will even run on the Pandora (though I do not recommend coding on the Pandora for a start, do that much later).
Any suggestions, here? I couldn't find much in the Ubuntu repositories, and the ones I did try were pretty abysmal. BASIC-256, for example, claims to be a complete environment for teaching kids with - its error messages tell you nothing, and its help file is actually blank. And sdlBasic wouldn't let me run anything without saving it first, which I could see getting very cumbersome very quickly.
The most important thing is not to start from scratch - get yourself someone else's code and run it, make sure it works. Then have a go at modifying it. Make it display text other than what it usually does. Change some maths-looking things and see what happens. When you get an error, look it up and then see if you can work out how to fix it - but only have a couple of tries before jumping into here and getting some help. The last thing you want is to become discouraged!
Well, if it helps any, I was doing some of these things with the examples in the C64 manual, and successfully messed about with some of those, at least.
I readily picked up stuff like IF/THEN statements, nesting (just like forum code!), and suchlike, and I've understood how GOTO does its thing since I was a kid, so I suppose that's something.
Maybe I did pick up more than I thought I did...
My plan had been to track down some type-in listings to mess with, last night, but that was hobbled by not having great tools to work with in the first instance.
I'm sure I'll do better at grasping things if I can see more of it in action, as it were.
My immediate goal - at least as far as Petit Computer goes if it gets a European release (I assume it will - the timing seems to be right, since there are so many efforts to get kids coding again right now) - would be to cobble together a plain-text editor, that can save files to the SD Card. I imagine that this is well within its capabilities.
After all, my 3DS is with me *all the time*, and I can type a lot faster with a stylus on a good resistive screen (almost my full touch-typing speed - I learned that with Animal Crossing: Wild World on the DS) than I can on even the Pandora's thumb-keyboard.
This would be my aim right now on my PC, as well, since it covers what I want to learn. Character-sheet generators (structured like a quiz, I suppose) for recording information for fiction that I'm working on, or pen-and-paper RPGs, would also be handy, as would something for keeping an inventory of my threads and fabrics for current sewing projects, and obviously these are something that I could derive from the text-editor, or vice-versa.
I guess I'd be best off tracking down something like this to learn from, no?
You can expect to be spending some months just getting the basics of program flow and maths-with-variables (algebra) down, but when you do a whole new world will open up to you. It's amazing fun, so don't give up just yet!
Variables, unfortunately, are a point where I got a bit stuck - I found them to be a little confusing (not massively - I can see how they work and all, but they seemed a bit arbitrary, and the manual I was reading didn't explain them well enough for my liking; For example, it kept using A$ as a variable, but never explained why it is this, or if I could use anything else to name them), and mathematics is something that I tend to struggle with a bit. Any suggestions, here?