s |
focus search bar ( enter to select, ▲ / ▼ to change selection) |
g e |
go to examples |
g m |
go to modules |
g o |
go to overview |
g r |
go to reference |
h |
toggle this help ( esc also exits) |
:
name : type = value
1
f : float;
Declares f
, explicitly typed to float
(default value is 0
)2f : float = 1;
Declares and initializes f
f := 1;
Declares and initializes f
, implicitly typedf = 1;
Assigns f
, must already be declaredc := 'c
- single quote for characters (u8
literals)declarations and assignment.
“A Programming Language for Games, talk #2.” YouTube, uploaded by Jonathan Blow, Sep 26, 2014, https://youtu.be/5Nc68IdNKdg?t=1666 ⮌
default values are always zero. the default value…is the zero value for your type.
“Q&A for Iteration and arrays, uninitialized values, enums.” YouTube, uploaded by Jonathan Blow, Dec 11, 2014, https://youtu.be/K45J_9jns7w?t=232 ⮌
jailang
2019 pixeldroid
https://github.com/pixeldroid/jailang |
programming pages theme v0.5.21 (https://github.com/pixeldroid/programming-pages) |
s |
focus search bar ( enter to select, ▲ / ▼ to change selection) |
g e |
go to examples |
g m |
go to modules |
g o |
go to overview |
g r |
go to reference |
h |
toggle this help ( esc also exits) |