LOTUSSCRIPT LANGUAGE


Command function
Example

Returns the command-line arguments used to start the Lotus software application that started LotusScript.

Syntax

Command[$]

Return value

The return value does not include the program name.

Command returns a Variant of DataType 8 (String). Command$ returns a String.

If the command that started the product specified no arguments, the function returns the empty string ("").

Usage

You can call the Command function as either Command or Command(). You can call the Command$ function as either Command$ or Command$().

To run a Lotus software application macro in a script, use Evaluate. To start a program from a script, use Shell.

In Lotus Notes, the Command function always returns an empty string.

In OS/2, macros in some products must be converted before they are OS/2 ready.

Example
See Also