Or if your window code is a parameter in the window then you could have ...
IF SYMB_MIRRORED = 0 then
win-code = "123L"
else
win_code = "123R"
endif
That way you only need the one object.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11