arglist
arglist(g_function) =>l_argumentList
Description
Returns the number and types of arguments expected for a function. Also checks if the specified function is a binary object,
This function is useful for determining how many arguments a function takes and what they are.
If the function is read-protected, the arguments are still returned. If the function is a primitive (binary), the argument list is based on the type template for the function specified. If the function is defined in SKILL, the argument list in the function definition is returned.
Arguments
|
Name of the function or the symbol whose argument list you want to see. |
Value Returned
Examples
The first argument of rexMatchp must be a string and the second must be a string or symbol.
arglist('rexMatchp)
=> ( t_string S_stringSymbol "tS")
Related Topics
Return to top