Difference between revisions of "Int"

From Mesham
Jump to navigationJump to search
(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 ''…')
(No difference)

Revision as of 00:02, 4 January 2010

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