Home AMX Forum NetLinx Studio
Options

Passing Device To Function

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
MY_FUNCTION(dvTOSEND)  //Error is with this code

Function Code
DEFINE_FUNCTION MY_FUNCTION(DEV dDEVICE[])
{
    send_string dDEVICE, "String to Send"
}

Comments

Sign In or Register to comment.