Copyright Notice: This article is completed by Lyris, started 9CBS, the author retains Chinese copyright. No commercial use is not permitted without permission. Welcome to the reprint, but please keep the article and copyright statement complete. For contact, please send an email: lyricsoft@gmail.com
TYPE TDEMO = Class AA: String; BB: String;
Using the TDEMO.CREATE DOTRY AA: = 'test'; bb: = aa; // set method and get method have FINALLY FREE; END;
The key is that the class's code is simple, and for only the Property class with similar structures, it is especially convenient :)