Currenttype
From Mesham
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.
currentype varname;
Will return the current type of the variable.
var i: Int; var q:currentype i;
Will declare q to be an integer the same type as i.