For the address of a function, determine its current name.

For the address of a function, determine its current name. The command can be useful for log output.

Please note : The function can only be used to determine Function addresses!

Name Type Default Description
Return char*   Name of the function.

The return value is read only, do NOT CHANGE. The result will be overridden on following calls to the function. See here to learn more about functions returning r/o char* values.

var any - Variable or function of any type
scope int 0 Where should the function be searched for?

0 : In the internal definition tables of the script interpreter

1 : In the current symbol table of the execution stack

int apply (int fn)
{
    float f = fn (gFrame);
wlog ("", "(%s) %f\n", symname (fn), f);
return 0; }
int main () { apply (frame::get_rotate); apply (frame::get_skew);
return 0; }

Since
v4.1.6 R26001, 30. Sep 2019

Available
priint:comet InDesign® Plug-Ins, comet_pdf, Illustrator

See Also
reflection

Alphabetic index HTML hierarchy of classes or Java