Declaring And Using Variables/Control Structures Flashcards
Is a name given to a location in random access memory (ram)
Variable
Is used to declare variables and allocate storage piece
General declaration section at the top of the code module or immediately following a procedure declaration
Dim
Before we make use of the variables we need to declare first, in general case. the naming convention is that, name of variables
-begin with letter
-can contain an embedded period or embedded type declaration character
-must not exceed 255 characters
-must be unique within the scope which is the range from which the variable can reference a procedure, a form, so on.
-we can fix mix characters and numbers together
We make use of keywords “DIM” and “AS” to declare a variable
Allows you to control the flow of your programs execution
Control structure
Visual basic is an ___ programming language
Event driven
Response to specific action known as events
Program
Is any action performing by using any of input device primary mouse and keyboard
Event