When I try to run this I get;
ERROR: invalid command #255/226 (344ff)
ERROR at line 0: Error in program structure DEFFN av(x,y)=SQR(x^2+y^2)
Is this an Android issue or not yet implimented - or am I doing something wrong?
I note that in sample programs which contain DEFFN they run without problem
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Confirmed. But this only happens when you try to excecute the DEFFN statement.
It should not be reached by the program flow. I mean, you must put an END command at least one line before the DEFFN.
I agree, the error message should be more verbose.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ah -now got this working!
I guess there are other instances where this behaviour happens - but I would never have guessed this one when debugging - because it 'defines' I put DEFFN at the beginning of the program along with DIM declarations.
Many thanks for the help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
DEFFN av(x,y)=SQR(x^2+y^2) (from the manual)
When I try to run this I get;
ERROR: invalid command #255/226 (344ff)
ERROR at line 0: Error in program structure DEFFN av(x,y)=SQR(x^2+y^2)
Is this an Android issue or not yet implimented - or am I doing something wrong?
I note that in sample programs which contain DEFFN they run without problem
Confirmed. But this only happens when you try to excecute the DEFFN statement.
It should not be reached by the program flow. I mean, you must put an END command at least one line before the DEFFN.
I agree, the error message should be more verbose.
Ah -now got this working!
I guess there are other instances where this behaviour happens - but I would never have guessed this one when debugging - because it 'defines' I put DEFFN at the beginning of the program along with DIM declarations.
Many thanks for the help