0

I have to find out if any line of the txt file ends with 'end'. If any line does, then my program must go to specific label. I've read PASCAL help from beginning to the end but I couldnt figure out how to check what are the last three letters in each line. Can anybody help me? It's VERY important!!

2
Contributors
1
Reply
2
Views
11 Years
Discussion Span
Last Post by radu84
0

i'm not sure if this is about how to assign or to parse a textfile.

try to read about strings and string handling routines in pascal. for example read about:
length
strcat
strcomp
strcopy

best regards,

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.