CommandLineGetCount

 

The 'CommandLineGetCount' function returns parameter count of LocalMain program.

 

int @CommandLineGetCount();

 

Parameters

None

 

Return Value

Returns parameter count. It returns 3 if LocalMain program executed as "LocalMain.exe KK LL CC"

 

Example

count = @CommandLineGetCount();

if(count > 0)

    buf = @CommandLineGetString(0);

@Message(buf);

 

Description : First parameter displays if LocalMain argument count is equal or big one.

 

Relate items)

@CommandLineGetCount()

@CommandLineGetString()