how to create an array with both members and number of members undefined

Rob is saying you are setting two variables:

        fledValue = HIGH;
...
        mode = FREE;

When the mode variable implies the other one.