bounds checking on number specs. subroutine to parse numberspec to follow.