VISAUL BASIC , :
: ;
: , ;
: .
, . .
. 7.13 A Dim , . .
Form Module
.7.13. .
, .
, .. , .
. 7.14, A B (General) (Declarations) Dim .
Form Module
. 7.14. .
.
. 7.15, A (General) (Declarations) . Dim Public.
, . , . , .. , . .
VISAUL BASIC . . , . , .
Form Module
. 7.15. .
:
Static _ [ As _]
:
Private Sub Command1_Click()
Static a As Integer
Dim b As Integer
a=a+1
b=b+1
Print a
Print b
End Sub
a Command1 1. b , 1.
, Static .
|
|
:
[] [ Static ] Sub ()
End Sub
-
Public Private. , : . (Private), () . (Public), () .
Static , , . . Static - .
: , Dim Static.