Language Reference Guide : 4. System Classes : CompSource Class : Compile_Errors Attribute
 
Share this page                  
Compile_Errors Attribute
Data Type: StringObject
4GL Access: R
The Compile_Errors attribute contains the listing of errors from the last time the frame, procedure, or user class was compiled.
Use this attribute for applications that generate frames, procedures, or user classes dynamically. When the system automatically compiles a dynamically created frame, procedure, or user class upon first call, it places any compilation errors that occur in this attribute. By checking to see if this object is null after the first call, you can detect whether compilation errors occurred.