an example can be found on AMOSPro_Examples:Examples/H-1/Help_14.AMOS
Calls a named subroutine or procedure at regular intervals. There are several different forms of this command to choose from:
Every n Gosub label
Executes the gosub after n fiftieths of a second.
Every n Proc name
Calls a procedure every n ticks