I have changed the string to start from 1:
String = packed array[1..256] of char;
var Test:string; begin readln (Test); end.
Now I get the following error: ISO 7185 Pascal does not allow reading strings from textfiles
So, how am I suppose to read a string? Read a char one after another? Another question, how do I mark the end of string? Is there a special char for that, like '/0' in C?
__________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/