|
| 13 Dec 2013 10:54 AM |
print'hi' and print"hi"
both work but what the difference |
|
|
| Report Abuse |
|
|
|
| 13 Dec 2013 11:09 AM |
| thanks guys that really helped |
|
|
| Report Abuse |
|
|
skyarex
|
  |
| Joined: 21 Mar 2010 |
| Total Posts: 12989 |
|
|
| 13 Dec 2013 11:22 AM |
I don't think there is much of a difference. Just be aware that doing apostrophes in strings will end them unless you use "".
"Don't Panic"- HHGTTG |
|
|
| Report Abuse |
|
|
adark
|
  |
| Joined: 13 Jan 2008 |
| Total Posts: 6412 |
|
|
| 13 Dec 2013 11:48 AM |
There's no difference at the level Lua runs at.
They are used to define strings, as well as square brackets.
You can use double quotes in a single-quote encased string, and single in a double. |
|
|
| Report Abuse |
|
|