scar_coding
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
scar_coding [2024/01/21 14:47] – rap6tor | scar_coding [2025/01/10 11:27] (current) – old revision restored (2024/01/21 14:49) admin | ||
---|---|---|---|
Line 37: | Line 37: | ||
Code: | Code: | ||
+ | < | ||
arms = 1000 -- qqq temporary test value to see if function working | arms = 1000 -- qqq temporary test value to see if function working | ||
+ | </ | ||
You can also disable chunks of code by commenting it out with square brackets | You can also disable chunks of code by commenting it out with square brackets | ||
Code: | Code: | ||
+ | < | ||
--[[ putting 2 hyphens and 2 square brackets here comments out the following code | --[[ putting 2 hyphens and 2 square brackets here comments out the following code | ||
Line 53: | Line 53: | ||
]] -- the last 2 square brackets ends the commenting | ]] -- the last 2 square brackets ends the commenting | ||
+ | </ | ||
Prevention: Liberally use comments | Prevention: Liberally use comments | ||
Line 255: | Line 255: | ||
Code: | Code: | ||
+ | < | ||
SGroup_Add(sgroup1) -- this won't work | SGroup_Add(sgroup1) -- this won't work | ||
SGroup_Add(sgroup1, | SGroup_Add(sgroup1, | ||
+ | </ | ||
Prevention/ | Prevention/ | ||
scar_coding.1705848459.txt.gz · Last modified: 2024/01/21 14:47 by rap6tor