spiesik / addi

Automatically exported from code.google.com/p/addi
0 stars 0 forks source link

function as an argument of another function #26

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Let's say I have a custom function defined on fun1.m, and a second function 
defined on fun2.m, which one of its arguments is another function.

So I call fun2:
fun2(arg1,arg2,@fun1)

What is the expected output? What do you see instead?
I expect a number as an output.

I get this error:ERROR: FunctionParser: wrong argument

What version of the product are you using? On what operating system?
Addi 27. Android 2.1-update1

Original issue reported on code.google.com by silvio_...@hotmail.com on 12 Sep 2011 at 7:39

GoogleCodeExporter commented 8 years ago
I don't think function pointers are supported at all yet.  It will be a while 
before this can be fixed.

Original comment by corbi...@gmail.com on 13 Sep 2011 at 3:52

GoogleCodeExporter commented 8 years ago

Original comment by corbi...@gmail.com on 7 Nov 2011 at 8:58

GoogleCodeExporter commented 8 years ago
Can you try going to settings/preferences inside addi and enabling the 
"experimental interpreter"?  This should be solved via that.  That will be the 
default behavior in the future.

Original comment by corbi...@gmail.com on 16 Apr 2012 at 4:48

GoogleCodeExporter commented 8 years ago
Can't run a single command with experimental interpreter enabled. I got a 
"force close".

Addi 1.95(41), cyanogenmod based ginger rom

Original comment by silvio_...@hotmail.com on 18 Apr 2012 at 3:54