Using Multiple Arguments
- Last UpdatedJul 18, 2023
- 1 minute read
Some functions require several arguments. You need to list arguments between the parentheses, and separate each argument with a comma ( , ) as in the following example:
|
Command |
Login("Manager", "ABC"); |
The order of the arguments affects the operation of any function. The Login() function logs a user into your runtime system. The first argument ("Manager") indicates the name of the user, and the second argument ( "ABC" ) is the user's password. If you reverse the order of the arguments, the function would attempt to login a user called "ABC" - if a user by this name does not exist, an error message displays.