Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Jim Bauwens

Pages: 1 ... 57 58 [59] 60 61 ... 125
871
Lua / Re: Checkers Lua
« on: January 07, 2012, 11:02:37 am »
You had a endless loop? :P
Try to use on.timer for the pausing :)

872
Computer Projects and Ideas / Re: Lua code optimizer for pc
« on: January 06, 2012, 04:56:38 am »
Don't remove it, you need it for compatibility in newer versions AFAIK.

873
Computer Projects and Ideas / Re: Lua code optimizer for pc
« on: January 06, 2012, 04:52:26 am »
This is a bit more trickier, but it should work too.
Escape sequences like "\012" or "\002" don't need the 0's too. But of course you must be sure they aren't followed by a normal character.
I suppose you might need some regular expressions for this.

874
Computer Projects and Ideas / Re: Lua code optimizer for pc
« on: January 06, 2012, 04:43:33 am »
Yes, that should do :)

875
Computer Projects and Ideas / Re: Lua code optimizer for pc
« on: January 06, 2012, 04:06:48 am »
No, let me explain the \
It is used to create escape characters.
\xxx is the same as a normal character.
For example "\065" == "A".
The three (or less) digits represent the decimal code for the character.
Most characters in a TI.Image can't be displayed, so escape characters are used.
1, 2 and 3 are real characters in my example, they don't belong to an escape sequence.
What can happen is that they do become part of an escape sequence because of the conversion (and unexpected stuff will happen)

876
Calculator C / Re: A few questions about Nspire C programming
« on: January 06, 2012, 04:02:49 am »
  • Really unimportant: how do you change your profile with this forum? ???
Just click to "Profile" button in the top bar, and use the left side menu to navigate to different settings pages :)

That's about it, I know those are quite noobish questions but being noobish is my nature, I can't help it. :-[
Don't worry at all, those were very good questions :)

And welcome to Omnimaga!
If you stay here longer, don't hesitate to introduce yourself :)

877
Computer Projects and Ideas / Re: Lua code optimizer for pc
« on: January 06, 2012, 03:59:07 am »
No, I guess you don't understand :P
I'll separate the digits by space:
"\000 1 2 3"
When you change "\000" to "\0" this happens:
"\012 3"
It will think 1 and 2 are part of the escape sequence, and bad things will happen.

878
Computer Projects and Ideas / Re: Lua code optimizer for pc
« on: January 06, 2012, 03:48:36 am »
Changing \000 to \0 is just an improvement for the storage size. It will not change anything for drawing it.
But there can be a danger with changing it: as you know a TI.Image string contains also normal characters. Lets say you got a part that looks like this:
"\000122" (two pixels)
When you change it, this will happen:
"\0122"
Suddenly, you created a new character, "\012".
You should do some checks on the image data before changing it ;)

879
Lua / Re: Checkers Lua
« on: January 06, 2012, 03:41:06 am »
Looks very nice!


How do you draw your circles?
gc:fillArc ?

880
TI 68K / Re: DOA
« on: January 06, 2012, 03:37:27 am »
Yay \o/

881
Glad I could be of a help :)

882
Lua / Re: Lua Classes
« on: January 05, 2012, 10:25:41 am »
Or check EEPro.

Also Levak, I was before you.
* jimbauwens runs

883
Nice!
Good job NeoCrisis :)

884
Lua / Re: Luna online
« on: January 05, 2012, 03:37:39 am »
Very nice and thanks,  I was waiting for the update :)

885
Ndless / Re: [nRGBlib] W.I.P - Colorful librairy for Ndless 3.1
« on: January 04, 2012, 04:03:02 pm »
Very nice totorigolo :)
I've been looking into my copy, and it looks very straitforward to use. I haven't done anything with it yet, but I definitly will :D

Pages: 1 ... 57 58 [59] 60 61 ... 125