next up previous contents
Next: PIL C/C++ Language API Up: How parameters are evaluated Previous: Positional parameters   Contents


Named parameters

A more flexible method to specify new value of the parameter is to use the syntax :

      name=value

Using this syntax, one can specify new value for the parameters in any order. Thus :

      ISDCCopy OutFile="mycopy.fits" InFile="sample45.fits"

and

      ISDCCopy InFile="sample45.fits" OutFile="mycopy.fits"

are equivalent. Furthermore, since spaces are allowed around '=' separator, than all the following formats are equivalent :

      ISDCCopy OutFile=mycopy.fits
      ISDCCopy OutFile =mycopy.fits
      ISDCCopy OutFile= mycopy.fits
      ISDCCopy OutFile = mycopy.fits

note: any positional parameters must precede parameters given with name=value syntax.

PIL C/C++ Language Interface


Bryan Irby 2004-10-05