Sample object code
Your Synergy/DE distribution includes three test files in the dbl\examples directory:
- myclass.dbl (class definitions)
- myooprogram.dbl (program that demonstrates many object-oriented features)
- mystructprogram.dbl (example of using a structfield with a global structure)
To use these example programs,
1. | Run dblproto on myclass to generate the import file for the MyNameSpace namespace. (See Synergy Prototype utility (dblproto) for instructions.) |
2. | Compile myooprogram and myclass into myooprogram.dbr. |