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 - Adriweb

Pages: 1 ... 29 30 [31] 32 33 ... 115
451
Lua / Re: documentation on ETK API?
« 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=9275
in which the princples of ETK are showed.

And, well, of course, FormulaPro which uses it extensively...

452
HP Calculators / Re: HP Prime Emulator!!!
« 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=19496

Enjoy !

453
News / Re: OS 3.3 available for the TI-Nspire CX CAS
« on: August 05, 2013, 09:12:46 am »
English is still there ; Arabic is just a choice among the other languages

454
News / Re: OS 3.3 available for the TI-Nspire CX CAS
« 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
TI-Nspire / Re: [C] Rainbow Dash Cloud Attack
« 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 :D)

456
TI Z80 / Re: IES: online Axe, BASIC, and Grammer editor
« on: August 04, 2013, 08:17:00 pm »
Well it's a bit weird with Geany

http://www.geany.org/manual/dev/index.html#custom-filetypes
http://www.geany.org/manual/#lexer-filetype

Also, as a simple editor (not an IDE), SublimeText ? :P
(and IDE : Intellij IDEA :P)

457
Lua / Re: Updating WZGUILib
« on: August 04, 2013, 08:15:23 pm »
yep, both worked for me, be sure to have the latest JVM installed.
( http://www.java.com/fr/download/ )

458
News / Re: OS 3.3 available for the TI-Nspire CX CAS
« 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 :P)

459
Lua / Re: Nspire - Lua - xpcall
« 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
Lua / Re: Lua Q&A
« 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
Lua / Re: Lua Q&A
« 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
TI Z80 / Re: xLIB 84C Edition
« 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
Lua / Re: Lua Q&A
« on: July 30, 2013, 09:16:45 am »
Code: [Select]
PointClass.init(self, x, y)
What does the first argument (self) represent in relation to PointClass?
as compared to
Code: [Select]
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
Lua / Re: Lua Q&A
« on: July 29, 2013, 10:17:54 am »
So clarification,

Code: [Select]
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
TI-Nspire / Re: Jens' Script Editor - An on-calc lua editor
« 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