📖
Blitz Basic Language Reference
English
English
  • Introduction
  • Keywords
  • Comments
  • Identifiers
  • Basic Data Types
  • Constants
  • Variables
  • Arrays
  • Expressions and Conversions
  • Program Flow
  • Functions
  • Custom Types
Powered by GitBook
On this page
Edit on GitHub

Basic Data Types

There are 3 basic data types:

  • Integer values are numeric values with no fractional part in them. For example: 5,-10,0 are integer values. All integer values in your program must be in the range -2147483648 to +2147483647.

  • Floating point values are numeric values that include a fractional part. For example: .5, -10.1, 0.0 are all floating point values.

  • Strings values are used to contain text. For example: "Hello", "What's up?", "***** GAME OVER *****", "".

Typically, integer values are faster than floating point values, which are themselves faster than strings.

PreviousIdentifiersNextConstants

Last updated 2 years ago