Product Site

6.16. The ROUTINES StringTable (.ROUTINES)

The .ROUTINES environment symbol identifies a StringTable of routines that ::ROUTINE directives in the currently running program define. The StringTable indexes are the routine names. The StringTable values are the routine objects.

If there are no ::ROUTINE directives, the .ROUTINES symbol has the default value of .ROUTINES.
Example 6.4. .ROUTINES
/* .routines contains one entry with the index (routine name) "TALK" */
.routines~talk~call("echo this text")  /* test talk routine */
::routine talk  /* floating routine by the name of "TALK" */
  use arg text  /* retrieve the argument */
  say text  /* display received argument */