Parse command-line arguments: Difference between revisions

m
(Added Bracmat)
Line 5:
=={{header|Bracmat}}==
Per default, Bracmat treats all arguments as expressions and parses and evaluates them from left to right. A call to the function <code>arg$</code> pops the next argument from the list of arguments and returns it as an inert string in no need of further parsing and evaluation.
<langpre>bracmat arg$:?a 123 arg$:?b 77 !a+!b:?c out$!c</langpre>
Output:
<langpre>200</langpre>
 
=={{header|Go}}==
483

edits