June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
13
Task/Variables/HolyC/variables-5.holyc
Normal file
13
Task/Variables/HolyC/variables-5.holyc
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
global gvar # a global
|
||||
|
||||
procedure main(arglist) # arglist is a parameter of main
|
||||
local a,b,i,x # a, b, i, x are locals withing main
|
||||
static y # a static (silly in main)
|
||||
|
||||
x := arglist[1]
|
||||
a := 1.0
|
||||
i := 10
|
||||
b := [x,a,i,b]
|
||||
|
||||
# ... rest of program
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue