Example 1: check form (BDL)

The Genero Ghost Client BDL template to check form name and title.

check_form.4gl

!! Validates the current form name and title
!! This check is enabled if --check-all or --check-form parameter is used.
!!
!! Parameters:
!!  . formName  : The name of the current form
!!  . formTitle : The title of the current form
!!
    # Ensure the form name is: $(formName)
    CALL ggc.checkFormName("$(formName)")
    # Ensure the form title is: $(formTitle)
    CALL ggc.checkFormTitle("$(formTitle)")