> > > 2, When I write procedure or function with parameter String[31] it
> > > doesn't work. It writes Forward declaration not solved, however it is.
> > Please provide a minimal example. You probably have some syntax problem.

What you would like to do in this case is to declare a custom type:

MyStringType = string[31];

And replace your code by :

function Test(s: MyStringType): boolean; 

HTH Darius

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to