From 7a4bf4cfabd5808f986003154585cde7eca248f9 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 20 Aug 2017 22:03:31 -0700 Subject: 3976 --- html/global.mu.html | 75 ----------------------------------------------------- 1 file changed, 75 deletions(-) delete mode 100644 html/global.mu.html (limited to 'html') diff --git a/html/global.mu.html b/html/global.mu.html deleted file mode 100644 index f2c662b7..00000000 --- a/html/global.mu.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - -Mu - global.mu - - - - - - - - - - -
- 1 # example program: creating and using global variables
- 2 
- 3 def main [
- 4   # allocate 5 locations for globals
- 5   global-space:space <- new location:type, 5
- 6   # read to globals by using /space:global
- 7   1:num/space:global <- copy 3
- 8   foo
- 9 ]
-10 
-11 def foo [
-12   # ditto for writing to globals
-13   $print 1:num/space:global, 10/newline
-14 ]
-
- - - -- cgit 1.4.1-2-gfad0