Passing Device To Function
jabramson
Posts: 106
I'm sure this is something very simple. I'm trying to pass a device to a function but I am getting a Dimension Mismatch and type mismatch error on the function call side (not the function processing side)
Function Call
Function Code
Function Call
MY_FUNCTION(dvTOSEND) //Error is with this code
Function Code
DEFINE_FUNCTION MY_FUNCTION(DEV dDEVICE[]) { send_string dDEVICE, "String to Send" }
0
Comments
The brackets imply you're sending a DEV array
Like this: