loop lopy wrote:
I have defined a String = ^ char type which fixed the error in line 44. However I still have an error in line 17. Additional question, how do I get a data from ^ char pointer? If I have: a: ^ char; In c I would do the follwoing, either: *a = 'a'; or a[0] = 'a';
How do I do the equvalent in GPC?
Read your Pascal book. Meanwhile, try a^ := 'a';