Example 1: Local function variables

This example shows how to define local function variables.

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