DEFINE CLASS myclass AS Custom myDS = .NULL. FUNCTION INIT() this.myDS = CREATEOBJECT("Session") SET DATASESSION TO this.myDS.DataSession USE GETFILE() END FUNC ENDDEFINE