leledumbo wrote:
> AFAIR it was supported until certain FPC version
Found it:
http://wiki.lazarus.freepascal.org/User_Changes_2.6.0#Array_of_const_parameters_and_cdecl_routines
As that entry notes, it was not supported: "There is however no way in
(Free) Pascal to access these arguments on the callee side". This
includes the case where you try to hack around this by declaring fake
parameters, such as what Silvio was doing.
The compiler didn't throw an error, but that's similar to how it didn't
throw an error in case of e.g.
http://wiki.freepascal.org/User_Changes_3.0#Classes_implementing_forward-declared_interfaces
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal