library .... globals private integer I private gamecache GC endglobals private function H2I takes handle h returns integer return h return 0 endfunction private function H2S takes handle h returns string return I2S(H2I(h)) endfunction function .... set I= GetStoredInteger(GC,H2S(u),"TrigMoveNum") ... other stuff endfunction ... initializer of the library endlibrary