Data update
This commit is contained in:
parent
4d5544505c
commit
4924dd0264
3073 changed files with 55820 additions and 4408 deletions
15
Task/Variables/Bc/variables.bc
Normal file
15
Task/Variables/Bc/variables.bc
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
a = 1 /* global variables */
|
||||
|
||||
define add(a,b) { /* function parameters */
|
||||
return a+b
|
||||
}
|
||||
|
||||
define test(c) { /* local variables ('auto') */
|
||||
auto a
|
||||
a = 2
|
||||
return c / a
|
||||
}
|
||||
|
||||
{ print a,"\n"
|
||||
print add(1,2),"\n"
|
||||
print test(120),"\n" }
|
||||
Loading…
Add table
Add a link
Reference in a new issue