Represents an NLM on the NetWare server.
Returns the NLM's copyright notice.
object.Copyright
String.
Read-only.
This example returns the copyright information of calnlm32.nlm.
set srv = CreateObject ("ucx:Server")
set modules = srv.modules
set module = Modules.Element ("calnlm32.nlm")
print (Module.copyright)
Returns the build date of the NLM.
object.Date
String.
Read-only.
This example returns the build date of calnlm32.nlm.
set srv = CreateObject ("ucx:Server")
set modules = srv.modules
set module = Modules.Element ("calnlm32.nlm")
print ('The NLM was built on") & Module.Date)
Returns a description of the NLM.
object.Description
String.
Read-only.
This example returns a description of calnlm32.nlm.
set srv = CreateObject ("ucx:Server")
set modules = srv.modules
set module = Modules.Element ("calnlm32.nlm")
print (Module.Description)
Determines whether or not the NLM is already loaded.
object.Loaded
Boolean.
Read-only.
This example determines whether or not the NLM is already loaded.
set srv = CreateObject ("ucx:Server")
set modules = srv.modules
set module = Modules.Element ("calnlm32.nlm")
if (Module.Loaded then
print ("calnlm32 is already loaded")
end if
set module = Modules.Element ("Sys:temp\test.nlm")
if (Module.Loaded) then
print ("Test.nlm is already loaded")
else
print ("Test.nlm is not loaded")
end if
Returns the major version number of the NLM.
object.MajorVersion
Integer.
Read-only.
This example returns the major version number of the NLM.
set srv = CreateObject ("ucx:Server")
set modules = srv.modules
set module = Modules.Element ("calnlm32.nlm")
print (Module.MajorVersion) &' is the version of the NLM'
Returns the minor version number of the NLM.
object.MinorVersion
Integer.
Read-only.
This example returns the minor version number of the NLM.
set srv = CreateObject ("ucx:Server")
set modules = srv.modules
set module = Modules.Element ("calnlm32.nlm")
print (Module.MinorVersion) &' is the version of the NLM'
Returns the name of the NLM.
object.Name
String.
Read-only.
This example returns the name of the NLM.
set srv = CreateObject ("ucx:Server")
set modules = srv.modules
set module = Modules.Element ("calnlm32.nlm")
print ('The name of the NLM is') & Module.Name)
Returns the revision number of the NLM.
object.Revision
Integer.
Read-only.
This example returns the revision number of the NLM.
set srv = CreateObject ("ucx:Server")
set modules = srv.modules
set module = Modules.Element ("calnlm32.nlm")
print (Module.Revision) &' is the revision number of the NLM