functioncall
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | functioncall [2006/08/29 20:18] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | # $EPIC: functioncall.txt, | ||
+ | ======Synopsis: | ||
+ | $__functioncall__() | ||
+ | |||
+ | ======Technical: | ||
+ | * This function returns 1 if the current script context is expecting a return value (ie, in an alias called as a function and not as a command.) | ||
+ | * This function returns 0 in all other circumstances, | ||
+ | |||
+ | ======Practical: | ||
+ | This function can be used to slightly alter the behavior of your aliases | ||
+ | depending on whether they are called as a command or as a function. | ||
+ | |||
+ | ======Returns: | ||
+ | The return value is either 0 or 1, depending on whether the current | ||
+ | script context is a function call or not. | ||
+ | |||
functioncall.txt · Last modified: 2006/08/29 20:18 by 127.0.0.1