what_function()
Takes an optional integer parameter to indicate what level of the function stack to extract.
Syntax:
what_function([level]);
where
level is optional; default = 1. Instructs the function which level of the function stack to extract.
Example:
defun x()
{
fputs(stdout,what_function(0)); // prints out "what_function"
fputs(stdout,what_function(1)); // prints out "x"
fputs(stdout,what_function(2)); // prints "", indicating main
fputs(stdout,what_function(3)); // ERROR
}
Where Used:
Measurement Expressions (Data Display equations and Schematic MeasEqns), Schematic, Layout, Simulation, GUI
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()