Interface System
access this type via: System (provides, requires or uses)
This interface is provided by the Dana runtime and can be used to get a range of information about the Dana runtime environment (but not information about the host OS).
Functions
byte[] getVMType()
byte[] getHostType()
char[] getVersion()
String[] getSearchPaths()
String[] getAutoBindings()
void setAutoBind(bool on)
byte[] getVMType()
Get the VM's 'type' code, which must match the object type information of loaded components.
byte[] getHostType()
Get the VM's 'host' code, which must match the object type information of loaded components.
char[] getVersion()
Get the VM's version number.
String[] getSearchPaths()
Get the list of search paths used by the Dana virtual machine when looking for components (affected e.g. by the -sp parameter).
String[] getAutoBindings()
Get the list of required interfaces (including package paths) that the virtual machine will automatically bind (to itself).
void setAutoBind(bool on)
Set whether or not the VM will automatically bind the required interfaces returned by getAutoBindings() (default is true/on).