Data Cache Class
This classes uses the application-variables to save a value. This way the value can be shared by all the users to this application. This class was written by Michal Gabrukiewicz and is part of the GAB_LIBRARY.
Code: set itemCache = new Cache itemCache.interval = "h" itemCache.intervalValue = 1 itemCache.name = "sales" textCache = formater(now(), "general date") sales = itemCache.getItem("carolinaq") if NOT does_exists(sales) then itemCache.store "carolinaq", textCache else write = write & ("Date cached as of " & sales) end if set itemCache = nothing