| | Pass by reference Ralph Clark
|
| | Hi. Do we have pass by reference in the current version of legOS? If we don't, I'd be very grateful if anyone could give me a simple example of how to do the same thing in C using pointers and whatever. (22 years ago, 15-Sep-02, to lugnet.robotics.rcx.legos)
|
| | |
| | | | Re: Pass by reference Ralph Clark
|
| | | | More specifically, how can you pass by reference to a thread?? I thought a thread could only take chracter arguments in an array? Thanks "Ralph Clark" <ralph.clark@ntlworld.com> wrote in message news:H2HwuD.L6L@lugnet.com... (...) (22 years ago, 16-Sep-02, to lugnet.robotics.rcx.legos)
|
| | | | |
| | | | | | Re: Pass by reference Joseph Woolley
|
| | | | Ralph, The second parameter to the task is a pointer to an array of pointers. Those pointers (under DOS and other OSes) normally point to parameters on the command line (string data). However, there is no reason to not use them for other data types. (...) (22 years ago, 16-Sep-02, to lugnet.robotics.rcx.legos)
|
| | | | |