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.

Resident script grp.checkwrite question
#1
Hello,

I have a resident script like this:

grp.checkwrite('Test1', true, 0, grp.getvalue('Test1_Status'))

It has to write "True" to "Test1" if "Test1_Status" value differs from value "True". What actually happens is it sends "True" one time, once the resident script starts, but then if the "Test1_Status" doesn't change and stay at "False" it doesn't repeat value "True" every time resident script repeats. Whats going on here? Am I missing something?  Confused
Reply
#2
Do it like this
Code:
grp.checkwrite('Test1', true, 0, 'Test1_Status')
------------------------------
Ctrl+F5
Reply
#3
Wow, thanks! Big Grin
Reply


Forum Jump: