Forum Discussion

ameett's avatar
ameett
Contributor
11 years ago

Error message shown when same Function is called again


There are three functions -

function A()

{

 

}

***********************************************

function B()

{

A()

}

***********************************************

function C()

{

  A()

  B()

}

**********************************************

Now when function C() is called the function A() works for the first time but the control passes to function B() which is also called properly...but in function B() when function A() is called -  Error message is shown at function A() - "Object doesn't support this property or method"............................function A() and B() are in same unit while function C() is in different unit...I am using C# scripting language and there is no circular reference.

 

May I request you to please help me to sort out this issue?

 

Thanks in Advance


 


1 Reply

  • Ryan_Moran's avatar
    Ryan_Moran
    Valued Contributor
    You could potentially have a duplicate function name in both the unit from function C and the unit from A & B. Can you post a code snippet from all three functions including the line that errors?