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.

grp.getvalue() returned value
#1
Hi all,

here a very simple question.
What type of data does grp.getvalue() return?

I didn't understand why this code works
    
    variable  = grp.getvalue('1/1/1')
    if (variable == true) then...    

while this not

    variable  = grp.getvalue('1/1/1')
    if (variable == 1) then ...


1/1/1 is defined on LM as 01.001 Switch
Reply


Messages In This Thread
grp.getvalue() returned value - by Kapudan - 31.08.2021, 11:29
RE: grp.getvalue() returned value - by admin - 31.08.2021, 11:30
RE: grp.getvalue() returned value - by admin - 31.08.2021, 11:50
RE: grp.getvalue() returned value - by admin - 31.08.2021, 12:17

Forum Jump: