useful_programs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
useful_programs [2019/07/31 13:11] – [Debug printing] emozolyak | useful_programs [2019/09/17 08:23] – [Bit functions] emozolyak | ||
---|---|---|---|
Line 47: | Line 47: | ||
end | end | ||
- | function outbit(condition, | + | function outbit(condition, |
if condition then | if condition then | ||
| | ||
Line 53: | Line 53: | ||
| | ||
| | ||
+ | end | ||
+ | |||
+ | function outBit(condition, | ||
+ | local new_value = outbit(condition, | ||
+ | | ||
end | end | ||
Line 194: | Line 199: | ||
</ | </ | ||
+ | Then the print output can be enhanced like this: | ||
+ | {{ : | ||
The // | The // |
useful_programs.txt · Last modified: 2024/03/19 09:39 by emozolyak