Michael Schnell schrieb:
On 02/28/2014 02:18 AM, Hans-Peter Diettrich wrote:

So the lack of "Self" seems to apply to "static;" methods, not to "class" methods. I'll ask in an EMBT group for a description of "static;", the OH seems to reflect the C++ meaning only,

In ANSI C "static" with functions just means "unreachable from outside the current source file" (i.e. by the linker) (I always thought this is a silly name for that meaning.)

Is this different with C++ ?

Yes. Some C keywords have multiple different meanings in C++, depending on where they occur in source code.

DoDi

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to