Revision [21095]

This is an old revision of KeyPgPrivate made by fxm on 2016-03-13 09:28:12.



Specifies a procedure having internal linkage

Private Sub procedure_name [Cdecl|Stdcall|Pascal] [Overload] [Alias "external_name"] [([parameter_list])] [Constructor [priority]] [Static] [Export]
..procedure body..
End Sub

Private Function procedure_name [Cdecl|Stdcall|Pascal] [Overload] [Alias "external_name"] [([parameter_list])] as return_type [Static] [Export]
..procedure body..
End Function

In procedure definitions, Private specifies that a procedure has internal linkage, meaning its name is not visible to external modules.

The Option Private statement allows procedures to be defined with internal linkage by default.


Private Sub i_am_private
End Sub

Sub i_am_public
End Sub

Differences from QB:
See also:
Back to Modularizing
Back to Procedures
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki phatcode