This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
new:acc [2018/02/20 16:03] – created korshun | new:acc [2018/02/20 16:06] – korshun | ||
---|---|---|---|
Line 22: | Line 22: | ||
</ | </ | ||
- | Local variables can't have the same names as any global names (function, constant, variable names). Unlike other compilers, local variable names don't shadow the global names, but trigger a compiler error. | + | Local variables can't have the same names as any global names (function, constant, variable names). Unlike other compilers, local variable names don't shadow the respective |
+ | |||
+ | ==== (void) is mandatory ==== | ||
+ | |||
+ | < | ||
+ | function void f(void) {} // OK | ||
+ | function void g() {} // ERROR | ||
+ | </ | ||
+ | |||
+ | For some reason, writing '' | ||
==== No " | ==== No " |