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
Yes it is the text editor - there is no provision in settings to change 1st line number to zero. (both 920 and Ted) Thanks for reply
sorry posted above in wrong section
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
Error reporting of line numbers is always short by one, that is if the console reports error in line 99 it should in fact be line 100 This happens both when an error is detected loading .bas or .b and when running a program