I've been working with the CodeBug for a few days now, and I can't seem to find a way to store an array. For example, I want an array of 256 chars, but this option doesn't seem to exist. Any ideas?
I've been working with the CodeBug for a few days now, and I can't seem to find a way to store an array. For example, I want an array of 256 chars, but this option doesn't seem to exist. Any ideas?
Hi Michael,
All those try to program something seriously on the CodeBug soon discover that together with the incredible limit of the graphic block programming there are worst limits. As a matter of fact you can't do serious maths, manage arrays and make function calls or at least simple subroutines. This impose very strong limits to the programmers and sounds really frustrating.
Enrico
Unfortunately, this is also the conclusion I came to. I was hoping I was wrong.
There is a roundabout way to do arrays by using string sequences:
Hi Mike,
I have found too this workaround to manage sequences and probably this is the only one thing that exist near to something like arrays. I have tried it and to be honest I have excluded from my consideration; the point is that until we make an academic demonstration of the principle this may have sense but the idea to write a lot of this unusable code just to manage the arrays in a real - also stupid and simple - program with CodeBug it is a mess.
The unavailability of arrays is not the only issue: the CodeBug also miss jumps and function calls. IMHO this can be just the better "invention" of the year but a product like this, specifically oriented to education with a young child target has not so much sense. The most important concepts to teach on programming are recursion, subroutines and conditional choices. Unfortunately CodBug does not cover none of these features in a clean, understandable, linear way.
BTW: just while I was writing I am thiinking another workaround that makes possible (with a trick) to manage subroutine calls, or - better - function calls with CodeBug. What do you think it can be ? (the answer later, if it works).
Enrico