Record and threadvar lazarus / 21-General ---------------------------------------------------------------------- ginoo · 2024-10-01 08:49 does a class theardvar inside a record work? b = record private   class threadvar aa : Integer; The problem is that aa which resets itself at every call. Is this code correct? ---------------------------------------------------------------------- ginoo · 2024-10-01 16:23 solved, it was a problem with my code