Difference between revisions of "Multiple"

From Mesham
Jump to navigationJump to search
(Created page with '== Syntax == multiple[type] Where ''type'' is optional == Semantics == Included in allocated will (with no arguments) set the specific variable to have memory allocated to al…')
 
m
Line 16: Line 16:
  
 
[[Category:Type Library]]
 
[[Category:Type Library]]
[[Category:Composite Types]]
+
[[Category:Compound Types]]
 
[[Category:Allocation Types]]
 
[[Category:Allocation Types]]

Revision as of 17:52, 12 January 2013

Syntax

multiple[type]

Where type is optional

Semantics

Included in allocated will (with no arguments) set the specific variable to have memory allocated to all processes within current scope.

Example

var i: Int :: allocated[multiple[]];

In this example the variable i is an integer, allocated to all processes.