29 Nov
1998
29 Nov
'98
1:48 p.m.
Hi, I have a problem in that I need to compile a program where a function is declared as type string. Here is a sample program test(input,output); function getname: string; begin getname := 'somestring'; end; begin end. The compiler aborts with parse error before 'String' If I declare the function as char it compiles. How do I get this to compile? Please reply directly as I have just subscribed to the List. I am using gpc version 2.0 Thanks in Anticipation Andrew Cameron