14.07.2022, 11:26
maxtime stores the maximum update time, it is changed when an object with a larger update time is found. Another option would be to sort the tagged object table by the updatetime field and use the first element of the table.
tagobj is a local variable and it's only visible inside the for loop.
tagobj is a local variable and it's only visible inside the for loop.