COMPILE statement
- Last Updated: April 4, 2019
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
The COMPILE statement compiles a procedure file or a class definition file into r-code. A compilation can be kept in memory during a session, or you can save it permanently for use in later sessions (as an r-code file, which has a .r extension). When you compile a class definition file, the AVM compiles the class definition file identified in the compile statement and all class files in its inherited class hierarchy, by default.
Basic usage
|
Running the code example produces a file named helloworld.r.