Currenttype

From Mesham

Jump to: navigation, 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.

Personal tools