I've never really done much with passing variables in and out of programs, but I've having a problem with error 2138 complaining about "Not a name of a constant of this type" when trying to call the program. KSS 8.2
In $config.dat
The called program tool_changer.src
Code
DEF tool_changer(COMMAND :IN )
DECL CLAMP_CONTROL COMMAND
SWITCH COMMAND
CASE #CLAMP
.......
END
Display More
The program test.src used to call tool_changer.src. The error is about this file....
Help!!!