WorstCase
Joined: 11 Mar 2004 Posts: 1
|
String as a Parameter |
Posted: Thu Mar 11, 2004 10:58 am |
|
|
Hi..
I have a function that needs a String as a Parameter:
Code: | char sendwait(char *send, char *wait, int16 timeout) {
addr2=addr3=0;
for (TIME_SET(0); TIME<timeout; ) { // loop until time runs out
....... |
I thought this will be the right Code but if I execute it with:
Code: | c = sendwait("abc","abc",10); |
The Compiler thing is "Line 269: Error #22: Bad expression syntax"
Please Help me .. I don't know whats the problem with the code |
|