with weighted coding, i.e. the weight given to a digit depends on the position of the digit within the block or code word