Command-line arguments: Difference between revisions

m
m (→‎{{header|REXX}}: elided replicated wording.)
Line 852:
-- "-c alpha beta -h gamma"</lang>
 
In latest versions of Mac OS X, the above approach doesn't work anymore. But there is a free "Xtra" (binary plugin/shared library) called "CommandLine xtraXtra" that works both in Windows and Mac OS X and returns the command-line parsed into a lingo list (array):
 
{{libheader|CommandLine Xtra}}
<lang lingo>put getCommandLineArgs()
-- ["-c", "alpha beta", "-h", "gamma"]</lang>
Anonymous user