CHAR array as parameter with WAIT
javedwahid
Posts: 37
Hi,
I have a function that I want to pass a CHAR array into it as a parameter and then do a SEND_COMMAND in a wait statement. I am getting an error saying that "all bounds of the array must be defined to be used in a wait" (something to that effect)
Need advice on how to accomplish this?
Thanks,
I have a function that I want to pass a CHAR array into it as a parameter and then do a SEND_COMMAND in a wait statement. I am getting an error saying that "all bounds of the array must be defined to be used in a wait" (something to that effect)
Need advice on how to accomplish this?
Thanks,
0
Comments
Then I guess you can use a parameter in a wait. Of course since the paramter is passing by reference the value may not be what you expect when the wait time expires and your code runs.
Something like