[fpc-devel] Problem with func/proc parameters and buttons in Laz
dhkblaszyk at zeelandnet.nl
Wed Nov 26 21:37:03 CET 2008
> > > 2, When I write procedure or function with parameter String 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;
And replace your code by :
function Test(s: MyStringType): boolean;
More information about the fpc-devel