Basically I have a form with a that chooses which set of data to use (values are \"m\", \"f\" and \"c\"). I then have a dictionary/object with th
You can use gdas[mode], it selects the element that is indexed by the value of mode.