Hi there, it seems that I like alot of other posters have found myself in a bit of a situation, i have a programming exam on Monday and we have been given the single worst bit of code I have ever seen in my life, im sure most of the others doing this exam know what i mean, and to make matter worse some idiot at school accidently deleted string.tpu and we have no back up so we're all using a totally new version of pascal that we don't fully understand.
Now to the problem, i was wondering if anyone can tell me how to check through a sting to see if there is a intger or punctuation in the string.
we are using Turbo Pascal for windows and using wincrt and strings "uses" thingy.
anyone else using a Turbo pascal for windows i have worked out a way to convert from lower case to upper case.
Write('Key in new phrase ...(letters and any Spaces) ');
for i:= 1 to length(s) do
ThisNewPhrase := s
make sure u add variable
0 · ·