CommandLineGetCount

 

감시 프로그램 실행 시 사용한 인자의 개수를 얻어온다.

 

int @CommandLineGetCount();

 

함수인자

없음

 

반환 값

인자의 개수가 반환된다. 감시프로그램 실행 시 LocalMain.exe KK LL CC 로 실행했다면 인자의 개수는 3이 된다.

 

예제

count = @CommandLineGetCount();

if(count > 0)

buf = @CommandLineGetString(0);

@Message(buf)

 

문장설명 : 감시프로그램의 인자 개수가 1이상이면 첫번째 인자의 문자열을 얻어 화면에 디스프레이한다..

 

관련항목

@CommandLineGetCount()

@CommandLineGetString()