summary refs log tree commit diff stats
path: root/lib/packages/docutils
ModeNameSize
-rw-r--r--docutils.babel170log stats plain blame
-rw-r--r--highlite.nim18001log stats plain blame
-rw-r--r--rst.nim51884log stats plain blame
-rw-r--r--rstast.nim8658log stats plain blame
-rw-r--r--rstgen.nim27990log stats plain blame
mp;id=fc2046a176334037507f77de382abdabf2895aae'>fc2046a1 ^
192d59d3 ^
fc2046a1 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14

                                                      
          
                                    
                                            
                                          
                              


     
         
                                
                                       
 
# example program: creating and using global variables

def main [
  # allocate 5 locations for globals
  global-space:space <- new location:type, 5
  # read to globals by using /space:global
  1:num/space:global <- copy 3
  foo
]

def foo [
  # ditto for writing to globals
  $print 1:num/space:global, 10/newline
]