Directref

From Mesham
Revision as of 15:44, 15 April 2019 by Polas (talk | contribs) (5 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Syntax

directref[ ]

Semantics

This tells the compiler that the programmer might use this variable outside of the language (e.g. Via embedded C code) and not to perform certain optimisations which might not allow for this.

Example

function void main() {
   var pid:Int :: allocated[multiple[]] :: directref[];
};

Since: Version 0.5