call MyProcedure
call 'MYPROCEDURE'
call MyProcedure -- calls "MYPROCEDURE"
call 'MyProcedure' -- calls "MyProcedure"
x = wordPos(needle, haystack) -- calls "WORDPOS", which works
x = "wordPos"(needle, haystack) -- calls "wordPos", which will fail
/* This internal DATE function modifies the */
/* default for the DATE function to standard date. */
date: procedure
arg in
if in="" then in="Standard"
-- This calls the DATE built-in function rather than recursively
-- calling the DATE: internal routine. Note that the name needs to
-- be all uppercase because built-in functions have uppercase names.
return "DATE"(in)