Command-line arguments: Difference between revisions
Content added Content deleted
m (Update Lang example: Fix spelling of Lang) |
|||
Line 1,459: | Line 1,459: | ||
} |
} |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
Calling a |
Calling a Lang program with command line arguments depends on the implementation. |
||
The following example shows, how this can be achieved in Standard Lang (-- defines the start of the command line arguments for the |
The following example shows, how this can be achieved in Standard Lang (-- defines the start of the command line arguments for the Lang program): |
||
<syntaxhighlight lang="shell"> |
<syntaxhighlight lang="shell"> |
||
$ lang cmdarg.lang -- 2 abc test text |
$ lang cmdarg.lang -- 2 abc test text |