Nomad platform differences in LotusScript®

These platform differences apply to HCL Nomad for web browsers.

Language construct differences

Construct

Usage in HCL Nomad

ActivateApp

Not supported. Generates the error "Operation not supported on this platform."

ChDir

If a drive letter is contained in the argument, generates the error "Device unavailable."

CreateObject

Not supported. Generates the error "Operation not supported on this platform."

Date, Date$

Can fetch current date. Setting the date generates the error "Illegal function call."

Declare

Generates the error "Error in Loading DLL."

GetFileAttr

Does not return the following attributes: ATTR_HIDDEN, ATTR_ARCHIVE, ATTR_VOLUME, ATTR_SYSTEM.

GetObject

Not supported. Generates the error "Operation not supported on this platform."

Lock, Unlock

Not supported. Generates the error "Operation not supported on this platform."

SendKeys

Not supported. Because CreateObject is not supported, unable to get Wscript.Shell object.

SetFileAttr

Ignores the attributes ATTR_HIDDEN, ATTR_ARCHIVE, and ATTR_VOLUME.

Shell

Not supported. Generates the error "Unable to open file."

Time, Time$

Can fetch current time. Setting the time generates the error "Illegal function call."

File system differences

Nomad for web browsers does not access the file system of the host operating system. It accesses only a virtual file system within the browser. This characteristic affects all functions related to the file system.

There are no drive letters on the virtual file system. All devices reside under the root directory. If you use a path name containing a drive letter, LotusScript® returns an error. (Note that since UNIX™ allows ":" in file names, the statement Dir$("a:") is legal. It searches the current directory for a file named a:.)

LotusScript® excludes "/" and "\" from the end of file paths, so if a file path ends with one of those characters, the file is created in the current folder instead. If the file path starts with "/" or "\" and doesn't end with "." or a file name extension, LotusScript® generates an error.

LotusScript® accepts file paths starting or ending with one or multiple "."

Other differences

OLE is not supported on LotusScript® Release 3.0 for Nomad platforms. This difference affects CreateObject, GetObject, IsObject, and IsUnknown. The CreateObject and GetObject functions generate run-time errors when executed on UNIX™ platforms. The IsObject function tells if a variable refers to a native or product object, but not an OLE object, since OLE objects don't exist on the UNIX™ platform. The IsUnknown function always returns FALSE on UNIX™, since there is no way for a Variant expression to receive the V_UNKNOWN value.