Command: call_func
  
Syntax: 
  x = call_func(i, s)
  
Description: 
  Call the user-defined Euphoria function with routine id i.
  i must be a valid routine id returned by routine_id. s must 
  be a sequence of argument values of length n, where n is the 
  number of arguments required by function i. x will be the 
  result returned by function i.
  
Comments: 
  If function i does not take any arguments then s should be {}.
  
Example Program:
 
     integer foo_id
 
     function doex()
           return call_func(foo_id, {"My", "Hello World\n"})
     end function
              
     function foo(sequence a, sequence s)
           return a & ' ' & s
     end function         
     foo_id = routine_id("foo") 

     puts(1,doex()) -- prints My Hello World

See Also: 
  call_proc, routine_id
  
