Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
10
Task/Topic-variable/BASIC256/topic-variable.basic
Normal file
10
Task/Topic-variable/BASIC256/topic-variable.basic
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
function Sum (x, y)
|
||||
Sum = x + y # using name of function
|
||||
end function
|
||||
|
||||
function SumR (x, y)
|
||||
return x + y # using Return keyword which always returns immediately
|
||||
end function
|
||||
|
||||
print Sum (1, 2)
|
||||
print SumR(2, 3)
|
||||
Loading…
Add table
Add a link
Reference in a new issue