1

Topic: Multiple objects attached to the same variable....

This one comes up time after time...

You do not allow multiple instances of the same variable being declared for an object...

I think in the past it just created multiple entries in the interface, but now it is blocked.

I have a data-entry variable "tariff" that I want on 2 pages, but I'm not allowed to, so it beats me up that I'm having to "spaghetti" my code so that it can work, and all the time I'm adding bandwidth into the interface.

Instead of preventing me from doing so, can you not just issue a warning that the variable has been used before, but allow it to compile successfully with just the one entry in the GUI config.

2B, or not 2B, that is the pencil ...

2

Re: Multiple objects attached to the same variable....

Yes, you will have to place two identical elements on different pages. You will have two different variables. In the current version this is the only way to do this. In the future we plan to separate variables and elements. You will be able to assign one variable to multiple controls.

3

Re: Multiple objects attached to the same variable....

Yes, the code compiler just adds separate instances of each variable, which will lead to compiler errors.

I am no expert, but I would have thought an easy fix would be to suppress adding variables if they already exist.  That way there would be no need to change the RemoteXY version.

2B, or not 2B, that is the pencil ...