Clarification on Procedure Declarations

  • Thread starter Thread starter Matt Weyland
  • Start date Start date
M

Matt Weyland

Can anyone summarize or clarify the procedure declaration
options? I know about public and private. But I don't know
what Friend and Static are for.

Thanks
 
Static when used to declare a variable, ensures that the
variable value remains the same when you return to the
procedure or function in which it is set. Static used to
declare a function or procedure ensures that ALL the
variables in the function or procedure retain their values
between calls.
 
Back
Top