Page 2 of 2
Re: NXC: Tasks and global variables
Posted: 28 Oct 2011, 22:03
by roscohead
Interestingly, if I change the code back to
Code: Select all
NumOut(80, line, ArrayLen(vx.a1));
the NBC comes out as
Code: Select all
arrsize __D0print, __print_7qG2_vx_7qG2_000.a1
...
numtostr __TextOutArgs.Text, __DU0print
A little different, but same result in the end.
ROSCO
Re: NXC: Tasks and global variables
Posted: 28 Oct 2011, 22:05
by afanofosc
Rosco,
You are definitely not using the same version of the compiler that I am using. Can you download and use the 2011-10-24 test release? Please make sure that you replace/delete older versions of the compiler/IDE.
John Hansen
Re: NXC: Tasks and global variables
Posted: 29 Oct 2011, 04:56
by roscohead
Doh, yes, you are correct, at some stage it appears I installed a 2nd copy, and the copy I was running was not the copy I've been updating (thanks, Bill, for shortcuts...). Second copy now deleted, happy to report I now get the correct array length. And the program I was initially working on is now much neater and works flawlessly (well that part of it anyway), thanks for pointing out the obvious!
ROSCO