about summary refs log tree commit diff stats
path: root/html/global.mu.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/global.mu.html')
-rw-r--r--html/global.mu.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/html/global.mu.html b/html/global.mu.html
index 6e2c0491..a95ef552 100644
--- a/html/global.mu.html
+++ b/html/global.mu.html
@@ -32,7 +32,7 @@ body { font-family: monospace; color: #eeeeee; background-color: #080808; }
 
 <span class="muRecipe">recipe</span> main [
   <span class="Comment"># allocate 5 locations for globals</span>
-  <span class="Constant">global-space</span>:address:array:location<span class="Special"> &lt;- </span>new <span class="Constant">location:type</span>, <span class="Constant">5</span>
+  <span class="Constant">global-space</span>:address:shared:array:location<span class="Special"> &lt;- </span>new <span class="Constant">location:type</span>, <span class="Constant">5</span>
   <span class="Comment"># read to globals by using /space:global</span>
   <span class="Special">1:number/space:global</span><span class="Special"> &lt;- </span>copy <span class="Constant">3</span>
   foo
@@ -40,7 +40,7 @@ body { font-family: monospace; color: #eeeeee; background-color: #080808; }
 
 <span class="muRecipe">recipe</span> foo [
   <span class="Comment"># ditto for writing to globals</span>
-  $print <span class="Special">1:number/space:global</span>
+  $print <span class="Special">1:number/space:global</span>, <span class="Constant">10/newline</span>
 ]
 </pre>
 </body>