Re: Help with parsing file

2003-08-27 Thread shurst
> I have a large text file, which contains data in the form: > > parameter name="value" // comment about the line > > For example: > > LCD Display Modes="3" // Add the modes to allow them: 1=status 2=aids > 4=engine/brake temps > > I am trying to make a GUI that will allow you to see the param

RE: Help with parsing file

2003-08-27 Thread Peter Eisengrein
Title: RE: Help with parsing file First, I'd change the // to # Then, I'd actually set the parameter like a scalar, i.e. $LCDDisplayModes=3; # Add the modes to allow them: 1=status 2=aids 4=engine/brake temps Then in the main script: require 'parameter_file'; -