If that's the whole script, you have failed to declare what mr actually is.
Code:
local al = getAddressList()
local mr = al.getMemoryRecordByDescription('n1') --assuming that's the text in the description field of the address you want to use.
Then you can use it like this:
Code:
if mr.Value == '' then
...
end
Note: always declare things as local unless you explicitly require a global variable. This prevents alterations of objects that you may want to keep the same.
All times are GMT - 6 Hours Goto page Previous1, 2
Page 2 of 2
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum