Currenttype

From Mesham
Revision as of 21:51, 10 January 2010 by Polas (talk | contribs) (Created page with '== Syntax == currentype varname; == Semantics == Will return the current type of the variable. == Example == var i: Int; var q:currentype i; Will declare ''q'' to be an…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Syntax

currentype varname;

Semantics

Will return the current type of the variable.

Example

var i: Int;
var q:currentype i;

Will declare q to be an integer the same type as i.