Jump to content
Sign in to follow this  

run parameters

Recommended Posts

Using the $cmdline array.

$cmdline[0] contains the number of parameters used

$cmdline[1] = first parameter

$cmdline[x] = x parameter (...)

If $cmdline[0] = 0 Then
    MsgBox(0,"","No Parameters")
If $cmdline[1] = "-test" Then Msgbox(0,"","This is the first parameter")
Msgbox(0,"","there are a total of " & $cmdline[0] & " parameters")


Awaiting Diablo III..

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...