Edit: nvm, I'm a moron... It's going to return a string anyway (Duh)
Edited by KingofGamesYami, 22 April 2014 - 02:34 AM.
Posted 22 April 2014 - 01:51 AM
Edited by KingofGamesYami, 22 April 2014 - 02:34 AM.
Posted 22 April 2014 - 07:45 AM
print("\"text\"")
Posted 23 April 2014 - 07:06 PM
Bomb Bloke, on 22 April 2014 - 07:45 AM, said:
print("\"text\"")
print( '"Hello World!"' )As you may have noticed I started wrapping the text with a single quotation mark then used a double since that's what's going to be printed, You can ofcourse do the opposite way around :3
Posted 23 April 2014 - 07:27 PM
local str = [[Of course, "block quotes" don't care about what's inside them and are probably the easiest way to create complex string literals.]]
Posted 25 April 2014 - 04:30 PM
Lyqyd, on 23 April 2014 - 07:27 PM, said:
local str = [[Of course, "block quotes" don't care about what's inside them and are probably the easiest way to create complex string literals.]]
print[[ Blah blah, this is some text this is a new line etc. ]]So that you don't have to assign it to a variable
Posted 25 April 2014 - 04:34 PM
0 members, 1 guests, 0 anonymous users