REXX Tips & Tricks, Version 2.80

Inf-HTML [About][Toc][Index] 0.9b (c) 1995 Peter Childs

Redefinition of internal functions

REXX allows it to redefine any built-in function in a REXX program. If, 
for example, you define a function named DATE in your program the call 

  curDate = date()

calls your newly defined function and NOT the built-in function date() 
To call the built-in function -- for example in your new defined function 
-- call it like this: 

  call "DATE"


  curDate = "DATE"()

Important:  You must use the name of the built-in function in uppercase! 
  (see also Redefinition of functions from a DLL)   
 Note:   See Expand the function FILESPEC or Check if a queue exists for 
         working examples. 

Inf-HTML End Run - Successful