INTERFACE ParseEnergyParams; IMPORT ParseParams; IMPORT MixedEnergy; CONST Help = " [ -energy Curv ] \\\n" & " [ -energy Poten ] \\\n" & " [ -energy Excen ] \\\n" & " [ -energy Corner ] \\\n" & " [ -energy Elect [ fuzz ] ] \\\n" & " [ -energy PArea [ area ] ]"; PROCEDURE Parse(pp: ParseParams.T): MixedEnergy.T RAISES {ParseParams.Error}; (* Parses an energy combination from the command line parameters. The syntax is as shown in the "Help" string above. Must be called between "pp.beginParsing" and "pp.endParsing". If no terms are specified returns NIL. *) END ParseEnergyParams.