I was in Chicago too and had a great time!
Learned a lot about lua and other things, but ...
Is there a way to call a user defined function (created in TI-Nspire) in a lua script?
Bert Wikkerink
--
Dit bericht is gescanned op virussen en andere gevaarlijke
inhoud door MailScanner en lijkt schoon te zijn.
math.eval(math_expression)This function sends an expression or command to the Nspire math server for evaluation.The input expression must be a string that the Nspire math server can interpret andevaluate.If the math server successfully evaluates the expression, it returns the numerical results.The eval function returns no result if the math server does not return a calculated resultor if the calculated result cannot be represented as a fundamental Lua data type.If the math server cannot evaluate the expression because of a syntax, simplification, orsemantic error, eval returns two results: nil and an error number.
--
To post to this group, send email to tins...@googlegroups.com
To unsubscribe send email to tinspire+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com.au/group/tinspire?hl=en-GB?hl=en-GB
The tns documents shared by group members are archived at
https://sites.google.com/site/tinspiregroup/classroom-news/welcome-abouttime
It's also worth noting that you can use the math.eval() function to make use of any of the built-in routines on the Nspire including the CAS engine if you are using a CAS device...
On Sun, Mar 11, 2012 at 3:44 PM, Adriweb <bertran...@gmail.com> wrote:
Also, just a little addition :on < 3.2, math.eval() returns directly the right type of variable (number if the result if number, 1d table if list, etc.)On 3.2 with platform.apilevel = "1.0", it forces the output type as string...
To unsubscribe send email to tinspire+unsubscribe@googlegroups.com
To unsubscribe send email to tinspire+u...@googlegroups.com