Example 1: Local function variables

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