home *** CD-ROM | disk | FTP | other *** search
- instanceof class student;
-
- assume #person pinst in
- {
-
- student := class.new("student",
- [{
- null function show()
- {
- pinst.show();
- };
- },
- {
- null function set(string namep; integer agep)
- {
- pinst.set(namep,agep);
- };
- }
- ],
- [
- {#person pinst;}
- ]
- );
-
-
- };
-