Xbasic

Module

Description

The Module object provides information about an code module.

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)

Methods

Executable()

Get the executables that contains the module.

Get_Current()

Get the current exe module.

HasMethod()

Return true if the method exists.

InvokeInstanceMethod()

Invoke an instance method of an executable.

InvokeMethod()

Invoke a method of an executable.

LinesGet()

Get lines from a module if it has debug symbol information.

Name()

Get an module's unique name.

See Also