Applies To: | Root |
Description
The GetCommandLineArgs method returns the command and the arguments to the command that was used to start the current Dyalog APL session or application.
The GetCommandLineArgs method is niladic.
The result is a vector of character vectors. For example:
GetCommandLineArgs C:\Dyalog10\dyalog.exe -Dw YY_WINDOW=-30
DISPLAY 2 ⎕NQ '.' 'GetCommandLineArgs' ┌→───────────────────────────────────────────────┐ │ ┌→─────────────────────┐ ┌→──┐ ┌→────────────┐ │ │ │c:\dyalog10\dyalog.exe│ │-Dw│ │YY_WINDOW=-30│ │ │ └──────────────────────┘ └───┘ └─────────────┘ │ └∊───────────────────────────────────────────────┘