Example: Check the form name (Genero BDL)
The template check_form_name.4gl is the template used (by default) when generating the Genero BDL code for checking the form name.
check_form_name.4gl
!! Validates the current form name
!! This check is enabled if --check-all or --check-form parameter is used.
!!
!! Parameters:
!! . formName : The name of the current form
!!
CALL ggc.assert(ggc.getFormName() == "$(formName)", SFMT("Form name is not valid, expected: '$(formName)', got: '%1'", getFormName()))