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.

multiple identical scripts
#5
.. is concatenation so '1/1/1' .. 1 is '1/1/11' not '1/1/2'.

To increase a group address by a number it needs to be converted to a numeric value first. grp.* functions accept addresses in numeric format so no need to convert back to a group address string.
Code:
addr = buslib.encodega('1/1/1') + 1

Your example does not work also because variables are named differently: aaa1 / aaa, bbb1 / bbb.
Reply


Messages In This Thread
multiple identical scripts - by davidchispas - 19.02.2021, 09:01
RE: multiple identical scripts - by Daniel - 19.02.2021, 10:01
RE: multiple identical scripts - by admin - 19.02.2021, 10:05
RE: multiple identical scripts - by admin - 10.11.2022, 06:37
RE: multiple identical scripts - by admin - 10.11.2022, 12:49

Forum Jump: