newline in pascal

in c its considered as ‘\n’
i wanted to know how to write it in pascal.
(i want to stop my while loop from running when a \n is presented)

On google i found as #10 but, then the codechef ide rejected it and so i didn’t submit my solution.