It seems you are trying to use the enum as a weight. That is the wrong approach.
It seems you are trying to use the enum as a weight. That is the wrong approach.
That's the thing! What I'm trying to do is to give identifiers to IDs of symbols. The IDs would be used to index several arrays.
400bx gave a a solution for assigning identifiers to the weights, not to the indices. That isn't what i'm looking for.