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 - Munchor
Pages: 1 ... 49 50 [51] 52 53 ... 424
751
« on: July 15, 2011, 01:14:06 pm »
Interesting... could be very useful. Thanks, ephan!
The typical example is the classic program when the user will enter N numbers and you have to sort them and print them out. I just coded this: n = io.read() n = tonumber(n)
f = {}
for i=1,n do a = io.read() table.insert(f, a) end
table.sort(f) print("")
for i=1,n do print(f[i]) end
This gets a variable N as input from the user, then it reads N numbers. After this, it prints them ordered.
752
« on: July 15, 2011, 01:05:53 pm »
> mytable = {"omnimaga", "pianoman", "ephan"} > -- When order alphabetically, it should be "ephan", "omnimaga", "pianoman" > table.sort(mytable) > = a[1] ephan > = a[2] omnimaga > = a[3] pianoman
table.sort() sorts a table of strings alphabetically or numerically, if it is table of integers: > myinttable = {4,2,1,3} > table.sort(myinttable) > return myinttable[1] 1 > return myinttable[2] 2 > return myinttable[3] 3 > return myinttable[4] 4
More information can be found here.
753
« on: July 15, 2011, 10:31:03 am »
Shouldn't this go in "Other calc related ideas and projects"?
Of course, not everybody gets a Major Community Project
754
« on: July 15, 2011, 07:43:59 am »
You can use wxwabbitemu, it works on Linux and is still being developed, so you have to compile from source. It's not hard to, it's actually very simple. http://code.google.com/p/wxwabbitemu/wiki/installing_wxwabbitemuI'm one of the active developers and I wrote that so you can install it easily
755
« on: July 15, 2011, 06:00:31 am »
I think Ashbad also codes for the PRIZM, but I don't think he ever finished a project for it.
756
« on: July 15, 2011, 05:21:36 am »
Woah, I just saw this being tweeted, a PRIZM game is an awesome idea Good luck everyone! I won't participate because I don't have a Prizm
757
« on: July 15, 2011, 05:12:24 am »
Ich spreche nicht gut Deutsch, aber ich habe 1 Nspire
758
« on: July 14, 2011, 05:35:43 pm »
Great job Jim I'd love a video
759
« on: July 13, 2011, 04:13:45 pm »
PianoMan, if the PacMan is for the Contest, I'm not sure if you can share the whole code And you just did...
760
« on: July 13, 2011, 04:13:02 pm »
I just tried it on wxWabbitemu (couldn't make a screenshot now though, you should ) and it looks very nice. The Game Over screen could be improved (delete background and it will look cooler).
761
« on: July 13, 2011, 03:26:01 pm »
The rule of three?
Bingo! Thanks Juju
762
« on: July 13, 2011, 03:20:52 pm »
No I mean it's like the whole thing:
a - b c - x
I think it's proportion something...
763
« on: July 13, 2011, 03:12:48 pm »
2 - 4 8 - x x = (4*8 )/2 x = 32/2 x = 16 5 - 15 1 - x x = 3 What do you call these things: a - b c - x Thanks
764
« on: July 13, 2011, 02:23:25 pm »
By the way, you only have a day and a half left to submit your program for the Axe contest. Hope you can convert your program to 1.0.0 in time I wouldn't recommend that, I would recommend trying to send it in today, waiting for tomorrow might be risky, but if one wants to take the risk Either way, the new release looks awesome, I really wasn't expecting it
765
« on: July 13, 2011, 01:15:57 pm »
@Ztrumpet: Dutch is spoken in both Belgium and the Netherlands btw. Belgium just happens to have a large French speaking population as well.
And portuguese too
Pages: 1 ... 49 50 [51] 52 53 ... 424
|