click below
click below
Normal Size Small Size show me how
CPI Module 12
Arrays
Term | Definition |
---|---|
For...Next Loop | set up with a variable called intCounter |
Parallel Arrays | can use multiple arrays where their elements are related by their position in the array |
ReDim arrayName (newSize) | will delete existing arrays |
Dim intArray() As Integer = {1, 2, 3, 4, 5} | this declaration has an initializer list that will set all the values of the array |
datatypes | can be integers or strings |
initializer list | consists of a list of comma-separated values that are enclosed in braces { } |
runtime error | a program error that occurs while the program is running |
length | a property that will give the length (number of elements) of any declared array |
ReDim | statement to redeclare an array |
Preserve | used to redeclare an array and hold the values |