Question: what is the slope of a non vertical line?
Answer: Nope. (We can't divide by zero, which is of course why this slope value is "undefined".) This relationship is always true: a vertical line will have no slope, and "the slope is undefined" means that the line is vertical.