Wouldn't flag #to do what I want? Or is the flag operator just meant for things like flag a8 ?
An alternative would be not to use flags for this at all, but just an array. I woul have to set up my own mapping from square names to array entries by something like set index + * 100 rank #to file #to;
Wouldn't flag #to do what I want? Or is the flag operator just meant for things like flag a8 ?
An alternative would be not to use flags for this at all, but just an array. I woul have to set up my own mapping from square names to array entries by something like set index + * 100 rank #to file #to;