Navigation: ABC Library Reference > QueryClass > QueryClass Methods >====== Kill (shut down the QueryClass object) ====== | |
Kill, VIRTUAL
The Kill method frees any memory allocated during the life of the object and performs any other required termination code.
Implementation:
The Kill method deallocates the queryable items queue.
Example:
ThisWindow.Init PROCEDURE()
ReturnValue BYTE,AUTO
CODE
!other initialization code
Query.Init(QueryWindow)
Query.AddItem('UPPER(CLI:LastName)','Name','s20')
Query.AddItem('CLI:ZIP+1','ZIP+1','')
RETURN ReturnValue
ThisWindow.Kill PROCEDURE()
ReturnValue BYTE,AUTO
CODE
!other termination code
Query.Kill
RETURN ReturnValue
See Also: Init