Task

Pass a function     as an argument     to another function.



Related task

   First-class functions


Prototype.d func(*text$)
 
Procedure NumberTwo(arg$)
  Debug arg$
EndProcedure
 
Procedure NumberOne(*p, text$)
  Define MyFunc.func=*p
  MyFunc(@text$)
EndProcedure
 
NumberOne(@NumberTwo(),"Hello Worldy!")