Example 1: Function variables

FUNCTION myfunc()
  DEFINE i INTEGER
  FOR i=1 TO 10
      DISPLAY i 
  END FOR
END FUNCTION