MEMO3-Objects created in try-structure

Top  Previous  Next


Objects created in try-structure (MEMO3)


This section lists lists locations where an object is created inside a try-structure, like:




Here, Obj should be created before the “try”, otherwise Obj.Free will be called even if the object fails to create, possibly causing a runtime error.



See also: