Lego NXT Bricx Arrays

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.

Lego NXT Bricx Arrays

Postby pevecg » 10 May 2015, 09:03

Hello,
I am trying to create a snake game using Arrays, but I have come to an problem since I cant find an function(or knowledge) how to completely remove index from an array or how to create an workaround. The index that I would have to remove would always be 0. Thank you for all the tips :)
pevecg
 
Posts: 1
Joined: 10 May 2015, 08:53

Re: Lego NXT Bricx Arrays

Postby Grunger » 01 Jun 2016, 15:14

Problem may be in firmware. If it's standart, you can't use two dimentions arrays.

Modified firmware
http://bricxcc.sourceforge.net/lms_arm_nbcnxc.zip
Grunger
 
Posts: 1
Joined: 01 Jun 2016, 15:12


Return to Mindstorms Software

Who is online

Users browsing this forum: No registered users and 6 guests

cron