2011/11/6 Florian Klämpfl <flor...@freepascal.org>: > It would be probably more clear to write and this more pascalish: > > Procedure SomeOuter; > > Var > d,e,f : SomeType; > > Lambda Procedure > SomeInner(targetobject:ttargetobject;a:integer;b:someobject;c:string) > begin > targetobject.destinationprocedure(a,b,c); > end; > > begin > Targethread.queue(@SomeInner(aobject,d,e,f)); > end;
Why would this function have an argument list? How would the target thread call it? _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal