A floating point number. This is the type of numeric variable we have been using all along.

Types of Variables

Recall that the name of a variable describes the type of data that it contains. The last character of the name tells what type of data the memory holds:

In the previous chapter we created an array of strings by using the statement:

DIM DAY$(1 TO 7)    ' Make an array of seven strings

This is an array of strings because the name of the array, DAY$, ends with a dollar sign.

Every data item in an array is the same type of data, so in this case the dollar sign at the end of DAY$ says that every item in the array will be a string.


What type of data is in the following array: