wishlist for NXC

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

Re: wishlist for NXC

Post by HaWe » 03 Jul 2013, 15:10

if any enhancements to NXc are still planned, then enabling procedures to be passed to functions as parameters would be fine...

Code: Select all

void foo( int myvar1, long bas() ) {
  // does anything meaningful

task main() {
  foo(2000, MotorRotationCount(OUT_A));
  foo(100,  SensorUS(S3));
  foo(800,  SensorRaw(S1));


(if no longer for NXC, then even maybe for EVC)

Post Reply

Who is online

Users browsing this forum: No registered users and 35 guests