Chapter 7 Data Types

Table of Contents
7.1 Integers
7.2 Strings
7.3 Booleans
7.4 Array Variables
7.5 Type Conversion
7.6 Checking data types

Every programming language allows to perform operations on some data; different kinds of informations often need different data types.

At the moment Cows can handle three basic data types: integers, strings and booleans. Beside these, there is a compound data type called 'array' which allows to group more data in a single unit.

7.1 Integers

Integers are the simplest data type: everybody uses them in everyday life. Examples of integers are 5 or 20524; an example of a negative integer is -20. Cows can handle integers ranging from -2.147.483.647 to 2.147.483.647.

This manual can be downloaded from http://www.g-cows.org/.