Hi,
I'm running into and issue with one of my subroutine name. I choose
DEF GLOBAL Enable230VChannel (NUMBER:IN, STATE:IN)
and get a 'dublicate definition' compiler error. I had this before and couldn't identify the problem. After a reboot some old file version reappeared in the R1/Programm dirtory. I deleted them and everything worked as expected. Now the same compiler error pops up again and I tried the rebooting - no suspicious files there.
I tried to identify the underlaying definition of subroutine with GET_DECL_PLACE:
DECL CHAR REPLY[80]
REPLY[] = GET_DECL_PLACE("Enable230VChannel")
MsgNotify(REPLY[])
but get an 'instruction inadmissible' error.
Did anyone ever use the GET_DECL_PLACE function to identify a declaration location?
Anything else to be done/tested (except renaming the subroutine, which works fine) ?
Thanks,
Stefan