Serv. 401 Debug Console Warning?

Hello!

I get a warning message in the Debug Consle:

Warning: gLastClick is not defined in the variables, a dynamic (media type) variable is created
Warning: gLastClickID is not defined in the variables, a dynamic (media type) variable is created

Do I have to create that variables and for what?

Regards
Thomas

tgs:
Hello!

I get a warning message in the Debug Consle:

Warning: gLastClick is not defined in the variables, a dynamic (media type) variable is created
Warning: gLastClickID is not defined in the variables, a dynamic (media type) variable is created

Do I have to create that variables and for what?

Regards
Thomas

Hi Thomas,

I think, you have not declared the variable “gLastClick” and use the variable in your code. That’s why it is giving the warning that, It is automatically created for you with media type.

You can declare the variable with your appropriate type to get rid of this warning.

Hope this helps.

Thank you Arup for your hint!

I copied code from an other solution and forgot to create the globale. Sometimes I obviously a little be confused… :wink:

Thomas