Vertical lines have undefined (or no) slope always, so this is a true statement.
To see why, look at a horizontal line (which is perpendicular). They have zero slope. That comes from the y = mx + b slope intercept form and their equation being y = b, and b is some number. Also, we use the idea that if two lines are perpendicular, the product of their slopes is -1; in other words, the slopes are negative reciprocals of one another.
Let's say the slope is
. If we wanted a horizontal line, which is perpendicular to a vertical line, we take the negative reciprocal of
, which is
. That's undefined because we are dividing by zero. Try this for number and you'll always be dividing by zero, which is undefined.
The statement above, "Vertical lines always have an undefined slope", is TRUE.