badfitz67
|
  |
| Joined: 03 Jun 2010 |
| Total Posts: 13165 |
|
|
| 20 Oct 2015 12:18 PM |
i saw in some code that they had something like this (there was no for loop above it either)
do print("HI!") end
when I tested it, it just printed HI! with no difference, so what's the point of doing it?
haven't found documentation of just "do" on the roblox wiki
Never too late to change a life, sir. |
|
|
| Report Abuse |
|
|
|
| 20 Oct 2015 12:20 PM |
local x = 21 do local x = 20 print(x)--> Prints 20 end print(x)-->Prints 21
local thignes
|
|
|
| Report Abuse |
|
|
badfitz67
|
  |
| Joined: 03 Jun 2010 |
| Total Posts: 13165 |
|
|
| 20 Oct 2015 12:21 PM |
alright.
Is there any documentation of it on the wikia anyway?
Never too late to change a life, sir. |
|
|
| Report Abuse |
|
|
|
| 20 Oct 2015 12:22 PM |
Scopes http://wiki.roblox.com/index.php/Scope |
|
|
| Report Abuse |
|
|
| |
|