$INCLUDE: 'C:\FG\INTRFACE.FOR'

      PROGRAM MAIN

      INTEGER*2 OLD_MODE
      INTEGER*2 FG_GETMODE

      OLD_MODE = FG_GETMODE()
      CALL FG_SETMODE(19)

      CALL FG_SETCOLOR(14)
      CALL FG_TEXT('yellow',6)

      CALL FG_LOCATE(0,0)
      CALL FG_SETCOLOR(10)
      CALL FG_TEXT(' green',6)
      CALL FG_WAITKEY

      CALL FG_SETMODE(OLD_MODE)
      CALL FG_RESET

      STOP ' '
      END
