Xbasic
Getting the Name of the Currently Running Script or Function
Description
The following script illustrates how to get the name of the currently running script or function.
Example
dim module as P dim exe as P dim name as C module = type::Xbasicmodule.get_current() exe = module.executable() name = exe.name() ui_msg_box("Name of Current Script or Function",name)
See Also