| | RE: Two dimensional arrays in NXC
|
|
Yes. It is currently a Windows only package. There's some, but not a lot, of demand for Mac version. -----Original Message----- From: news-gateway@lugnet.com [mailto:news-gateway...ugnet.com] On Behalf Of Christian Mock Sent: Monday, March 31, 2008 (...) (17 years ago, 1-Apr-08, to lugnet.robotics.nxt)
|
|
| | Re: Two dimensional arrays in NXC
|
|
(...) RobotC is for MS Windows only, isn't it ? Please let me know, if an OSX version is available. Thanks Christian (17 years ago, 31-Mar-08, to lugnet.robotics.nxt)
|
|
| | Re: Two dimensional arrays in NXC
|
|
(...) The stock firmware supports multi-dimensional arrays but there is a bug in the replace opcode which makes it impossible to replace an element in an array with more than one dimension. In NXC, due to the way the opcodes work in the standard (...) (17 years ago, 31-Mar-08, to lugnet.robotics.nxt)
|
|
| | RE: Two dimensional arrays in NXC
|
|
As an alternative, you might want to look at the ROBOTC solution. It fully supports two dimensional arrays. You can download a 30-day evaluation version from www.robotc.net. It's best to use the pre-release version (1.22 or higher) if you'll be (...) (17 years ago, 30-Mar-08, to lugnet.robotics.nxt)
|
|
| | Two dimensional arrays in NXC
|
|
Hello, I'm trying to use two dimensional arrays in NXC, like this: int onedarray[4]; int twodarray[4][4]; task main() { onedarray[2] = 1; twodarray[2][2] = 1; } I read that the stock firmware doesn't support them, so I got John Hansen's enhanced (...) (17 years ago, 29-Mar-08, to lugnet.robotics.nxt)
|
|
| | Re: New Mindstorms Events
|
|
Cross posting to lugnet.robotics... (URL) Philo> (...) (17 years ago, 28-Mar-08, to lugnet.events.brickworld, lugnet.robotics, FTX)
|
|
| | Re: advice on what Mindstorms book(s) I should consider buying
|
|
(...) This is my preferred RCX book too! Philo (17 years ago, 28-Mar-08, to lugnet.robotics.rcx)
|
|
| | What to use? brickOS? leJOS? pbForth?
|
|
Im a programmer so language isn't an issue. What's the status of these firmware replacements? I've looked around them some and I like BrickOs but I don't see any functions in there for the IO IR Port on the RCX! Is it just a better bet to stay with (...) (17 years ago, 27-Mar-08, to lugnet.robotics)
|
|
| | Re: advice on what Mindstorms book(s) I should consider buying
|
|
My son really liked the book "Building Robots with Lego Mindstorms" by Ferrari, Ferrari, and Hempel, because it teaches design principles, rather than just giving step-by-step instructions. (17 years ago, 27-Mar-08, to lugnet.robotics.rcx)
|
|
| | Re: advice on what Mindstorms book(s) I should consider buying
|
|
(...) Hi Jonathan, If you're looking for a great introduction to RIS 2.0 and would like some building instructions, I recommend "Definitive Guide to LEGO MINDSTORMS, Second Edition" by Dave Baum. If you're looking for tons of interesting ides but (...) (17 years ago, 27-Mar-08, to lugnet.robotics.rcx)
|