Updated Fancade Text Code Format.md (markdown)
commited
commit
ef133bffbed57bfd99add3f6df438a333fbdc559
... | ... | @@ -30,10 +30,13 @@ Basic Math Operators |
30 | 30 | Control |
31 | 31 | |
32 | 32 | if |
33 | ``` |
|
33 | 34 | • If (condition) { function } else { function } ; |
34 | or |
|
35 | ``` |
|
36 | **or** |
|
37 | ``` |
|
35 | 38 | • condition ? function : function ; /* This a secondary method of conditional if in JS language Idk if there are other languages using this method of conditional if */ |
36 | ||
39 | ``` |
|
37 | 40 | |
38 | 41 | |
39 | 42 | |
... | ... | @@ -41,13 +44,15 @@ if |
41 | 44 | |
42 | 45 | |
43 | 46 | Loop |
47 | ``` |
|
44 | 48 | • Loop[ start , end ]( ) |
45 | 49 | { function ; return ( counter ) ; } ; |
50 | ``` |
|
46 | 51 | or |
47 | • Num start = 0 ; |
|
52 |
```• Num start = 0 ; |
|
48 | 53 | While (start < end) { start++ , function } ; |
49 | 54 | /*this is loop in a nutshell :D , joke this is the manual loop*/ |
50 | ||
55 | ``` |
|
51 | 56 | Touch Sensor |
52 | 57 | • Touch[ mode , touch ]( ) |
53 | 58 | { function ; return ( x , y ) ; } ; |