1 of 8

Slide Notes

DownloadGo Live

Data Types

Published on Nov 27, 2015

No Description

PRESENTATION OUTLINE

DATA TYPES

BY AICA sYLIANCO
Photo by Thomas Hawk

DATA tYPES

  • The data type of a programming element refers to what kind of data it can hold and how it stores that data. Data types apply to all values that can be stored in computer memory or participate in the evaluation of an expression. Every variable, literal, constant, enumeration, property, procedure parameter, procedure argument, and procedure return value has a data type.
Photo by Thomas Hawk

DATA tYPES

  • Programming element: Variable
  • Data Type Decleration: In a Dim Statement
  • Ex. Dim amount As Double
Photo by Thomas Hawk

DATA TYPE

  • Liberal: with a literal type character; see " Literal Type Characters " in Type Characters
  • Data Type Declaration: Dim searchChar As Char = " . " C

DATA tYPE

  • Constant: In a Constant Statement
  • Data Type Declaration: Const modulus As Single
  • = 4.17825F

DATA tYPE

  • Enumeration: In Enum Statement
  • Data Type Declaration: Public Enum colors

DATA tYPE

  • Property: In a Property Statement
  • Data Type declaration:
  • Property region () As String

DATA tYPE

  • Procedure Parameter
  • Procedure Argument
  • Procedure Return Value