Add custom functions

At the end of each 4gl file generated for your application, there is a special POINT section for adding new functions to the file.

This example adds a new function dispmsg.
--Add user functions
{<POINT Name="user.functions">}
FUNCTION dispmsg()
  MESSAGE "Program ending"
END FUNCTION
{</POINT>}