Int

From Mesham
Revision as of 00:02, 4 January 2010 by Polas (talk | contribs) (Created page with '== Syntax == Int == Semantics == A single whole, 32 bit, number == Example == var i:Int; var b:=12; In this example variable ''i'' is explicitly declared to be of type ''…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Syntax

Int

Semantics

A single whole, 32 bit, number

Example

var i:Int;
var b:=12;

In this example variable i is explicitly declared to be of type Int. On line 2, variable b is declared and via type inference will also be of type Int