This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

ADD STRING TO OBJECT NAME
#1
HI
I have to change the name of the object, I recovered the name, so far everything is ok, how do I check if it is different from nothing, also how do I rewrite the new name

to read I created a loop with the group addresses and I would also like to use it to rewrite if different from null.

Thank you
Reply
#2
Use
Code:
if not value then
...
end
where value is your null string
------------------------------
Ctrl+F5
Reply
#3
(07.12.2023, 08:39)Daniel Wrote: Use
Code:
if not value then
...
end
where value is your null string
 perfect
if i need read the name of object
in name var
after  I need rewite the new_name in the same address, how can I do it ?
Reply
#4
Check this: https://forum.logicmachine.net/showthread.php?tid=3033
Reply
#5
To find the name
https://kb.logicmachine.net/libraries/lua/#grpfindalias
to update it
https://kb.logicmachine.net/libraries/lu...eateconfig
------------------------------
Ctrl+F5
Reply


Forum Jump: