June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
26
Task/Variables/Falcon/variables.falcon
Normal file
26
Task/Variables/Falcon/variables.falcon
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
/* partially created by Aykayayciti Earl Lamont Montgomery
|
||||
April 9th, 2018 */
|
||||
|
||||
/* global and local scrope
|
||||
from the Falcon survival
|
||||
guide book */
|
||||
// global scope
|
||||
sqr = 1.41
|
||||
|
||||
function square( x )
|
||||
// local scope
|
||||
sqr = x * x
|
||||
return sqr
|
||||
end
|
||||
|
||||
|
||||
number = square( 8 ) * sqr
|
||||
|
||||
|
||||
a = [1, 2, 3] // array
|
||||
b = 1 // variable declaration
|
||||
e = 1.0 // float
|
||||
f = "string" // string
|
||||
|
||||
/* There are plenty more
|
||||
data types in Falcon */
|
||||
Loading…
Add table
Add a link
Reference in a new issue