The results I'm getting on the screen is 20 and 20, even though I'm trying to access an element that should have been changed.
It seems that p[2]*=2 is handled incorrectly, instead of multiplying the third element of p, it multiplies the whole p array, as if it hadn't noticed it being an array.
I fixed this today. The math assignment code worked for arrays of scalars but not arrays of user-defined types. I added a bit of code to check for and properly handle that case.
Noted you have modified BCC but when I went to get the new version it is still shown as version 3888 of 2010-06-09.
Assuming the change was in the latest test release I tried to download that but the link was unavailable :-
An error has been encountered in accessing this page.
A sophistical rhetorician, inebriated with the exuberance of his own verbosity, and gifted with an egotistical imagination that can at all times command an interminable and inconsistent series of arguments to malign an opponent and to glorify himself.
h-g-t, the link have changed, the new test releases are placed in a folder here: http://bricxcc.sourceforge.net/test_releases/
I haven't really stayed updated lately tough so I don't know if it have changed again, as the latest release in that folder is 3 months old.
Install the source code anywhere, change directory to "NXC" and compile it with "make -f nbcwin32.mak". Some GNU tools (gzip, tar, make) and the free pascal compiler need to be installed before.
I only use linux so I only could deliver the unix binaries...
Bye marvin
Bye Marvin
- "I think you ought to know I'm feeling very depressed." - (Android Marvin in "The Hitchhiker's Guide to the Galaxy" by Douglas Adams, 1978)
I haven't uploaded a new test release that contains the fix for this bug. But as marvin noted it is possible to build from SVN source code (which has the fix checked in). I will upload a new test release and a new official release later this week.
afanofosc wrote:I haven't uploaded a new test release that contains the fix for this bug. But as marvin noted it is possible to build from SVN source code (which has the fix checked in). I will upload a new test release and a new official release later this week.
Could you find time to upload a new official release for OS X, too? I would very much appreciate that.