If Not @Compiled Or Not $CmdLine[0] Or $CmdLine[1] == 0 Then
MsgBox(16, 'Error', 'Запускать только скомпилированным.' & @LF & 'И только с параметром - числом больше 0.')
Exit
EndIf
If Not StringIsDigit($CmdLine[1]) Then
MsgBox(16, 'Error', 'Параметром может быть только число')
Exit
EndIf
For $i = 1 To Number($CmdLine[1])
MsgBox(48, $i, '$CmdLine[1]: ' & $CmdLine[1])
Next