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.

:getvalue() method
#4
(06.11.2018, 13:33)buuuudzik Wrote:
(06.11.2018, 13:00)admin Wrote: You don't need getvalue() as value is already stored as obj.value
Available methods:
Code:
read
write
response
update
checkwrite
checkresponse
checkupdate

You can get object's meta-table (including meta-methods) like this:
Code:
log(getmetatable(obj))

Thanks. Yes, it is(it is something as screenshot). I've wanted stote the result of grp.find in a table and use this object later every 60s in Resident script and only use it via this methods. But while I want to use also updatetime then value update will be not enough. But I think you could add method like 'refresh' to not type again grp.find('1/1/1') but only e.g. obj.refresh()

Hi buuuudzik

grp.find('alias') already return a table, why you cannot just write a function to perform some tests and make changes in this table ?

I am not understanding what you need obj.refresh() as refresh also means update.

B.R
Chouaibou.
Reply


Messages In This Thread
:getvalue() method - by buuuudzik - 06.11.2018, 12:16
RE: :getvalue() method - by admin - 06.11.2018, 13:00
RE: :getvalue() method - by buuuudzik - 06.11.2018, 13:33
RE: :getvalue() method - by CHOUAIBOU - 06.11.2018, 14:15
RE: :getvalue() method - by buuuudzik - 06.11.2018, 14:41
RE: :getvalue() method - by CHOUAIBOU - 06.11.2018, 16:29

Forum Jump: