Home AMX User Forum NetLinx Studio

Variables with : In Them

Greetings,

I am working with an alarm system using the AMX supplied Netlinx module.

In the debug window, you can select a variable name with a : in it. The variable is being created by the .tko comm module.

How can I work with this variable in my code? It carries a useful piece of information that I can use as variable text. When referring to the variable in my code, a not defined message comes up ignoring the colon and the characters after it.

Any help appreciated.

Thank you.

Comments

  • Joe HebertJoe Hebert Posts: 2,159
    How can I work with this variable in my code?
    No can do unless the variable is passed into the module via a parameter or the module exposes it with a SEND_COMAMD/SEND_STRING (or a CHANNEL_EVENT.if it?s binary)

    If you don?t have the source code to the module you?re out of luck.
  • There are no references to the variable in any non-pre-compiled file.

    The only place this variable is seen is in the debug window.

    What is the purpose of the : ?
  • Joe HebertJoe Hebert Posts: 2,159
    The debugger uses it to reference the variable. Unfortunately, we can?t do the same from the programming environment.
Sign In or Register to comment.