Professional Documents
Culture Documents
10.1 Data Types and Record
10.1 Data Types and Record
10.1 Data Types and Record
• For example:
Book.author ← "David Watson"
Book.fiction ← FALSE
Example of Record
Declare
In VB Record are known as Structure
Structure StdRec
Dim stdID AS Integer
Dim name AS String
Dim class AS Integer
Dim add AS String
Dim fee AS Single
Dim grade AS Char
End Structure