swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Q] checking command line arguments


From: Norberto Eiji Nawa
Subject: [Q] checking command line arguments
Date: Mon, 09 Aug 1999 15:30:30 +0900

Hello:

Is there any other (more elegant) way to check whether an argument was
passed in the command line than checking the elements in argv?

I considered setting a boolean variable to YES inside a customized 'parseKey'
function, but then I could not find a place to initialize the same
variable to NO. (This variable would be part of 'MySwarmAppArguments',
which together with 'parseKey' are declared in
http://www.santafe.edu/projects/swarm/swarmdocs/set/swarm.defobj.arguments.protocol.html.)

Any hints are welcome!

Eiji

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]