How do I check for if appvars exist, and how do I make lists and matrices in C?
Still a noob at those parts, and I still don't know how I'd do basic list and matrix math (like copying data from one to another, goes for lists too).
Also, I don't know how to read and write to/from an appvar.
I guess this can be dedicated to those who might be just starting out...
EDIT: I saw this line in the docs:
if (ti_Write(&data, sizeof(data_t), 1, myAppVar) != 1) goto err;
But how can I just write to it, and not in an if statement. I feel dumb right now...
EDIT2: Major problem with for loops...
I used
Code:
...and I get (the background is fine)...
Still a noob at those parts, and I still don't know how I'd do basic list and matrix math (like copying data from one to another, goes for lists too).
Also, I don't know how to read and write to/from an appvar.
I guess this can be dedicated to those who might be just starting out...
EDIT: I saw this line in the docs:
if (ti_Write(&data, sizeof(data_t), 1, myAppVar) != 1) goto err;
But how can I just write to it, and not in an if statement. I feel dumb right now...
EDIT2: Major problem with for loops...
I used
Code:
for(y = 240; y < 280; y += 20) {
gfx_Sprite(wood, x, y);
}
...and I get (the background is fine)...