|
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...
> 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.
>
>
|
|
Message has 1 Reply: | | Re: Pass by reference
|
| 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)
|
Message is in Reply To:
| | Pass by reference
|
| 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)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|