A new measure $L_{\alpha }^{\beta }$, called average code word length of order $\alpha $ and type $\beta $ has been defined and its relationship with a result of generalized Havrda and Charvat and Tsallis's entropy has been discussed. Using $L_{\alpha }^{\beta }$, some coding theorem for discrete noiseless channel has been proved.