Well thanks all for judging the speed. In fact I am so used to Axe that I can't judge Basic speed anymore lol.
(However, please don't judge my skills at that game, I was holding the camera with my main hand and playing with the other one without seeing the calc screen due to the oversized Android, and without seeing the keys I was pushing either. I don't say that I play better when I have my two hands and when I am in front of the screen, but for once I have an excuse to say why I play badly).
Also, I just remember now that I have a gmail account so I may have a youtube account -.-°
Going to change my signature in a minute (to fit better the new rules). I use that post for two reasons : -keep a copy of my old signature (nostalgia and all...) -preview the new one (to avoid oversized text)
Spoiler For old signature:
Spoiler For image fails:
Spoiler For what I am according to...:
me: useless Pokemon Test: an Absol turiqwalrus: an eggplant p2: A HUMAN BEING ! Blackpilar and p2: iplantonlyplantwantplanttoplantknowplantifplantyouplantareplantaplantboyplantorplantaplantgirlplant
Ok, I converted that video into a gif. The image is stretched for some reason but since the goal was to judge the speed I think it is not a problem. And thanks Sorunome for your help anyway, even if I don't need it anymore.
Same for me, What if I wasn't already too young when they wanted me to skip a class in elementary school ? I would have skipped a class, I would have met people I didn't and I would not have met people I did. How would my life be ?? I think I'd still be programming, this has to do with my parents, not my relations at school, but maybe I would have made more friends, I'd be getting out more often and I would be programming a lot less.
Lol, I have the CSE since April. And yeah, I agree myself that an animated screenshot would be awesome. So if someone can do it, please do. In the meanwhile, I'll try to record a video and convert it as a gif somehow.
You should see if you can capture a video or a gif with an emulator. You know, for those of us without the CSE.
Yeah, I thought about that (I always do that for the monochrome models) but I don't know what to record with : Wabbitemu doesn't work with the CSE (or I missed something) and jsTIfied asks for a ROM, and the only rom dumper I found needs TiLP which I always failed to install (so I use TI-Connect).
So yeah, I heard a lot of people complaining about speed on the CSE, then I saw xLib, CalcuZap and Buttonz not being so slow and I was wondering if Basic had a reasonable speed too (I am talking about pure Basic, not using libs like Legand of Zelda: Sord of Atari).
This is why I coded that Snake game. Don't expect too much of this, it is just a snake, without any surprise. Speed is acceptable but it is true that it would be better if faster. That may also be because of my inexistant optimizing skills in Basic.
edit edit Stretched gif (don't ask me why it is stretched, I don't know).
edit edit edit @Xeda : I finally didn't use your code to check if there are two occurences of the same point in the lists because I was fearing that the speed of the calculations would depend on the length of the lists.
I like the idea of having one token for everyone and using letters to see who is who, but the → is a bit confusing according to me. Why not parentheses instead, like .THING() for default, .THING(I) for Ion, etc ? Or if you want to use the →, why not .M→THING instead of .THING→M ?
The idea was that you're "storing" the compiled data into the target variable type. Does that win you over at all? I find the parentheses method confusing myself because it suggests to me that the file is some massive routine with input arguments, and I mentioned why I like the store approach in the order first suggested.
If you still aren't a big fan of the original syntax suggestion, it can certainly be changed. It would be good to hear input from a few others before any kind of decisions are made.
In fact, reading your post again makes me think that your syntax is the best. It stores the THING program into a M(irageOS) program, so it is basically THING→M.
Yeah, I can do that or use two temporary lists that I don't care if they get swapped (but that method would use more RAM). Anyway, thanks, your code seem to work perfectly.
Oh, I didn't know that SortA could have several arguments ! Thanks, indeed I think that "something like this" should work (if not your code, something similar).
It doesn't work (both examples return 1) and it doesn't surprise me : doing LX-LY (and adding some commands after) would check if there is an equality X(n)=Y(n), but not (X(n),Y(n))=(X(m),Y(m)).
I like the idea of having one token for everyone and using letters to see who is who, but the → is a bit confusing according to me. Why not parentheses instead, like .THING() for default, .THING(I) for Ion, etc ? Or if you want to use the →, why not .M→THING instead of .THING→M ?