in reply to Re: Re: hashes ?
in thread hashes ?

$hash {$thermos [3]} [0]; # enthalpy for fourth thermos value $hash {$thermos [7]} [1]; # entropy for eigth thermos value.

Abigail

Replies are listed 'Best First'.
Re: Re: hashes ?
by Anonymous Monk on Feb 26, 2003 at 12:30 UTC
    thanks again, but I don't really understand what context I can use this in  $hash {$thermos[3]}[0];! If i try to print it - nothing happens. If a print it within quotes, it thinks $hash is seperate to %hash and complains! How can I write a test; e.g. if $thermos[3] is equal to $some_value print the corresponding values $enthalpy and $entropy to $thermos[3]. thanks for your patience
      I strongly urge you to read some manuals. You can't expect us to spoon feed you every single line of your program.

      Abigail