| | mindscript - subroutines
|
|
Hi, I'm new to this mindscript stuff and lugnet, so hopefully someone can shed some insight for me. I was lead to believe that Mindscript had the capability of defining subroutines. In either Bricx or Scripted I keep coming up with an error when I (...) (19 years ago, 22-Dec-05, to lugnet.robotics)
|
|
| | Re: mindscript - subroutines
|
|
(...) Ron, I am fairly new to the mindscript language as well, but I have done substantial research into this problem as I was encountering the exact same problem. From what I have found, you cannot do user subroutines in mindscript FOR THE RCX. (...) (19 years ago, 23-Dec-05, to lugnet.robotics)
|
|
| | Re: mindscript - subroutines
|
|
(...) Your code works fine for the Spybot target. RCX2 and earlier brick types do not support defining subroutines in MindScript. This is documented in the VPBrick API help file which you can access from within BricxCC. Just press the context (...) (19 years ago, 23-Dec-05, to lugnet.robotics)
|
|
| | Re: mindscript - subroutines
|
|
I'm so new that I don't even know MindScript :confused: My questions... where to get it and its documentation? Is that the only script language for NXT? When I start using some variables and calculations the block structue is becoming hard to read. (...) (17 years ago, 20-Dec-07, to lugnet.robotics)
|
|
| | Re: mindscript - subroutines
|
|
(...) MindScript is a programming language created by LEGO for use with the earlier generations of programmable bricks such as the RCX, and Spybot. It cannot be used with the NXT. The NXT does not have any text-based programming languages that are (...) (17 years ago, 20-Dec-07, to lugnet.robotics)
|
|
| | Re: mindscript (NBC NXC)
|
|
Does that mean NBC or NXC can be used on NXT? Do you use any of them? Where can I find more deatails? C-like is good because I like C :-) Phuoc (...) (17 years ago, 20-Dec-07, to lugnet.robotics)
|
|
| | Re: mindscript (NBC NXC)
|
|
(...) If you are running on a Windows platform then you can start with Bricx Command Center (BricxCC). It is an integrated development environment (IDE) that supports Not eXactly C (NXC) and NeXT Byte Codes (NBC) for the NXT brick running either the (...) (17 years ago, 21-Dec-07, to lugnet.robotics)
|