13. Building Applications : The Create a Frame or Procedure Frame : Creating a Procedure Frame : Enter Source Code
 
Share this page                  
Enter Source Code
To enter the source code for a 4GL procedure
1. Choose Edit from the Edit a 4GL Procedure Definition frame menu to call up the system editor's opening display.
2. Enter the source code for the procedure.
3. When you finish, save your file as you exit the editor.
4. You return to the Edit a 4GL Procedure Definition frame. Choose Compile to compile the code and check for syntax errors.
If the file contains compilation errors, ABF displays a frame that lists the errors and prompts you to correct them. It is the same frame that you see if errors occur during creation of a user frame. Enter y (yes) to see the 4GL Error Listing frame.
5. Test the procedure by running the frame that calls it.