# System Functions

ARG( ) | Get/Process Arguments

The ARG function has two basic functions: the first is to return parameters from the argument list of the Command line that launched the application; the second, variations are used to manipulate fields/arguments within a string.

## Functions

The following links provide additional information for the specific formats:

1. | Return Start-up Argument: | ARG(position[,ERR=stmtref])
2a. | Return/Replace Argument from String: | ARG(string$, argno [, delim$ ] [,ERR=stmtref])
2b. | Replace Argument in String: | ARG (EDIT string$, argno, newval$ [, delim$ ] [,ERR=stmtref])

(Formats 2a and 2b were added in PxPlus v7.00.)