xo::api proc script_name (public)

 xo::api[i] script_name [ -obj obj ] scope

Defined in packages/xotcl-core/tcl/01-debug-procs.tcl

Determine name of the current "script" as displayed by "Defined in" in the API browser. Define different sources available in different situatons.

Switches:
-obj (optional)
class name for identifying the source filename
Parameters:
scope (required)
either empty or thread name
Returns:
path starting with the "packages" directory

Testcases:
No testcase defined.
[ show source ]
Show another procedure: