NXC: can't pass expression to ArrayInit

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: NXC: can't pass expression to ArrayInit

Post by HaWe »

it's not just about ArrayInit, it's about all functions that in the moment are macros.
every function (edit: AND expression) should be allowed to get expressions (variables, functions) passed to it!
I want to be able to use always all functions nested like
printf("%d", int function1(function2(function3(function4)?0:1))*max(function1(function2), function1(function3)))
Locked

Who is online

Users browsing this forum: No registered users and 2 guests