Forum Discussion
HKosova
Alumni
14 years agoHi Rebecca,
The script you posted contains syntax errors on the AddMethod lines - an unmatched quote after MainUnit.Run'Type'Trigger:
The script you posted contains syntax errors on the AddMethod lines - an unmatched quote after MainUnit.Run'Type'Trigger:
Valid syntax is:Call This.AddMethod("RunClickTrigger", "MainUnit.RunClickTrigger")but only the former statement is logically correct.
Call This.AddMethod("RunClickTrigger", MainUnit.RunClickTrigger)
The latter is incorrect and can actually cause the behavior you described. That is, MainUnit.RunClickTrigger without quotes is treated as a routine call rather than the routine name. Is this the case?