Question: If I have a class 'myClass' with the following:
DIM k = NEW OBJECT[100] PUBLIC SUB _init() DIM i AS INTEGER FOR i = 1 TO 100 k[i] = NEW STRING[] 'add a string array k[i].add("HELLO") 'add one element with "HELLO" NEXT END Somewhere else I have: DIM Q AS NEW myClass[5] ' constructor executes 5 times Q[2] = NULL '<---will the embeded string memory get freed too when the myClass object is freed ?? ?? -Fernando ------------------------------------------------------------------------------ 5 Ways to Improve & Secure Unified Communications Unified Communications promises greater efficiencies for business. UC can improve internal communications as well as offer faster, more efficient ways to interact with customers and streamline customer service. Learn more! http://www.accelacomm.com/jaw/sfnl/114/51426253/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user