This correspondence presents a complete solution to the problem of constructing maximal

-nary codes, for any word length

and minimum distance

in the region

. Several interesting results regarding the interdependence of these codes are developed, which reveal the unique structure of the code spaces of the region

. Some new maximal codes are obtained for the region

.