FBWiki : KeyPgPrivate

FBWiki :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

PRIVATE


Specifies a procedure having internal linkage

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

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

Description:
In procedure definitions, Private specifies that a procedure has internal linkage, meaning it's name is not visible to external modules.

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

Examples:
'e.g.

Private Sub i_am_private
End Sub

Sub i_am_public
End Sub


Differences from QB:

See also:

Back to Modularizing
Back to Procedures

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.0



sf.net phatcode