Novice question on syntax in sample code

Good point.

For what I think this is intended for (a 7-segment display) , using 10 bytes would be more efficient yet. Waste would be even less