CommandLine

private class
system.CommandLine

Description

The CommandLine class provides methods for retrieving command line arguments passed into the Loom executable at runtime.

API overview

Constructor

CommandLine ()

Functions

Public functions

getArg ( idx: Number ): String static native

Gets the argument at the specified index

getArgCount (): Number static native

Gets the number of arguments passed into the Loom executable

Constructor

CommandLine ()

Functions

getArg ( idx: Number ): String

static native

Gets the argument at the specified index.

Parameters

idx: Number The index of the argument.

Returns

String The argument at the specified index, will throw an error if the index is out of range.

getArgCount (): Number

static native

Gets the number of arguments passed into the Loom executable.


Returns

Number The number of arguments

getFullTypeName (): String
Inherited from Object

native

Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.


Returns

String fully qualified type name of the Object.

getType (): Type
Inherited from Object

native

Gets the Type that describes the Object.


Returns

Type The Type that describes the object.

getTypeName (): String
Inherited from Object

native

Gets the type name of the Object.


Returns

String type name of the Object.

toString (): String
Inherited from Object

native

Returns a String that describes the Object. This can be overriden to provide extra details when printing objects using trace().


Returns

String String that described the Object.

: