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 - Adriweb
Pages: 1 ... 29 30 [31] 32 33 ... 115
451
« on: August 07, 2013, 03:08:10 pm »
Hi, We (Jim Bauwens and I) haven't released what we can call an official documentation (we'll probably do that for version 3, though !), however learning by examples isn't bad neither : I advise you to download this demo document : http://tiplanet.org/forum/archives_voir.php?id=9275in which the princples of ETK are showed. And, well, of course, FormulaPro which uses it extensively...
452
« on: August 07, 2013, 08:02:27 am »
Hi all, Today HP decided to publicly release the latest version of the HP Prime computer software. As you will be able to see, many many bugs were fixed since the "leaked" pre-release ! You can download it here : http://tiplanet.org/forum/archives_voir.php?id=19496Enjoy !
453
« on: August 05, 2013, 09:12:46 am »
English is still there ; Arabic is just a choice among the other languages
454
« on: August 05, 2013, 12:26:02 am »
Well it was not an official move - a member just gave it to us. We still don't know how he got a hold of it.
455
« on: August 04, 2013, 08:18:45 pm »
Also, another piece of general advice: don't put .tns files at the root of /documents, because TILP cannot cope with them, which means that users couldn't backup such files once your program has created them.
Eh, that's quite annoying, can't it be fixed ? (I'm among probably many of users for who the root is just a mess )
458
« on: August 04, 2013, 07:38:34 pm »
Yeah, apparently this update is only for Arabic/RTL support, nothing else AFAIK. But yes, it's somewhat of a big change in code, I suppose. (Or not "so" much if it was done with an adaptative layout in mind at first, but eh )
459
« on: August 04, 2013, 04:59:01 pm »
You can call functions (not programs) that you wrote within the Basic Editor, yes.
That's through [lua]math.eval[/lua]
460
« on: August 04, 2013, 01:00:19 pm »
@adriweb: Yeah I've seen it, I understand the actual definition even less. Sorry.
Oops yeah sorry, didn't see/remember. But indeed it's not a trivial code for novice programmers. and to sum up the init() call, class() does not call it, it's when you create an instance of the earlier-defined class that it's called.
461
« on: August 02, 2013, 12:17:26 pm »
If you want to know what's behind the scene, the source code of the "class" function implementation is here : http://wiki.inspired-lua.org/class
462
« on: July 30, 2013, 09:20:32 am »
Awww Don't you have a program on you calc or somewhere that you could disassemble to find bits here and there ?
463
« on: July 30, 2013, 09:16:45 am »
PointClass.init(self, x, y)
What does the first argument (self) represent in relation to PointClass? as compared to
PointClass:init(x, y)
Well, this wouldn't work. (the ":" would mean that the PointClass table (class definition !) is passed.) For the first line of code you quoted, "self", there, is from the BallClass, not the PointClass. He's using PointClass.init (and not :init) because he specifies the object to be used for instanciation : the current (ball) self. As said before, ":" is just a shortcut for a.b(self) Also, for pairs/ipairs : look here http://lua-users.org/wiki/ForTutorial
464
« on: July 29, 2013, 10:17:54 am »
So clarification,
ball = class() -- creates a class called ball using the class function that is predefined function ball:init(speed, size) -- initialises the class, it can be called by just ball() elsewhere in the code self.speed = spd -- these are added to the table, ball? self.size = size end
Yes (and it's 'speed' not 'spd'). However, it's a general habit that classes definitions are first-letter-capitalized : Ball = class() function Ball:init(arg1, arg2) ... end etc. and instances of the classes, first-letter-lowercase : myBall = Ball(5,10)
465
« on: July 28, 2013, 01:59:38 pm »
I don't get luna to work, I guess it's because I installed everything on my HDD while my SSD is my system drive. I'll just include two versions then: - "apilevel1 OS 3.x" with "platform.apilevel='1.0'" - "apilevel2+ OS 3.2+" without an apilevel setting If I get it to work some day or find another way I'll update the file.
Good enough
Pages: 1 ... 29 30 [31] 32 33 ... 115
|