1 |
Relevant xkcd for programming and alcohol: https://xkcd.com/323/
|
1 |
Relevant xkcd for programming and alcohol: https://xkcd.com/323/
|
2 |
\n
|
2 |
\n
|
3 |
Another suggestion for frustrating bugs: put a print after each line with the variables. For your example you could add (not sure about syntax or where it is shown, but probably you can find an example of that in other widgets):
|
3 |
Another suggestion for frustrating bugs: put a print after each line with the variables. For your example you could add (not sure about syntax or where it is shown, but probably you can find an example of that in other widgets):
|
4 |
* print("name is " .. name)
|
4 |
* print("name is " .. name)
|
5 |
*
print(
"name
is
"
.
.
ud)
|
5 |
*
print(
"ud
is
"
.
.
ud)
|
6 |
*
print(
"name
is
"
.
.
wd)
|
6 |
*
print(
"wd
is
"
.
.
wd)
|
7 |
etc.
|
7 |
etc.
|
8 |
\n
|
8 |
\n
|
9 |
Probably it will flood you with too much info, but you can just stop it after first prints and it might help you understand what the code does.
|
9 |
Probably it will flood you with too much info, but you can just stop it after first prints and it might help you understand what the code does.
|