@FUNCTIONNot in LE
Print Topic  Return to Overview  Previous Topic  Next Topic 

@FUNCTION[name] : Returns the definition of the specified user-defined function name as a string, or a null string if the function doesn't exist. When manipulating strings returned by @FUNCTION you may need to disable certain special characters with SETDOS /X. Otherwise, command separators, redirection characters, and other similar punctuation in the function may be interpreted as part of the current command, rather than part of a simple text string.

 

Example:

 

echo %@function[myfunction]

 

See the FUNCTION command.

Topic "f_function.htm" last edited 4/28/2008. ©2008  JP Software, Inc.
Keywords: @FUNCTION