Home AMX User Forum NetLinx Studio

What on Earth is happening???

This has got to be something stupid Im missing...

I have an include file. Any button press I do in that Include happens EIGHTEEN TIMES.
There are no other instances of that button ANYWHERE. There is no "repeat" function or anything of the sort. I can just create a brand new button event with some random number, and if I trigger it, it will trigger 18 times.

What.Is.Happening.

Comments

  • jjamesjjames Posts: 2,908
    If you post the offending portions of your code, we could probably help better.
  • Make sure the include file is not included multiple times or is wrapped in compiler directives to keep the actual events from being added to the program more than once. If you just have events in the file, there will not be any errors from including it multiple times, it will just put multiple copies of the events in your program.

    -Ryan
Sign In or Register to comment.