[fpc-devel] procedure Types
Aavani at iust.ac.ir
Sat Mar 4 10:09:01 CET 2006
I have problem with procedure Types.
Look at the following code:
TProcedure= procedure (S: String);
procedure F1 (S: String);
procedure F2 (S: String);
it says it can't cast "Procedure (S: String); Object" to TProcedure. The
problem is clear but I don't know
(can't find) any solution to define TProcedure as a procedure of a class
which accepts one argument.
More information about the fpc-devel