turkish55
|
  |
| Joined: 09 Jan 2010 |
| Total Posts: 3385 |
|
|
| 14 Apr 2013 03:22 PM |
print ''Hello World!''
Thats not working. This is a riddle. Winner is must be realy intelegent... |
|
|
| Report Abuse |
|
|
|
| 14 Apr 2013 04:04 PM |
| The space between print and "Hello World!"? |
|
|
| Report Abuse |
|
|
Garnished
|
  |
| Joined: 09 Apr 2012 |
| Total Posts: 12695 |
|
| |
|
LPGhatguy
|
  |
 |
| Joined: 27 Jun 2008 |
| Total Posts: 4725 |
|
|
| 14 Apr 2013 04:07 PM |
You used two single quotes instead of a double quote.
Clever.
To the two above me, it's completely valid Lua to call a function with a string or table definition argument without parentheses and with a space. |
|
|
| Report Abuse |
|
|
Cupkle
|
  |
| Joined: 18 Jun 2012 |
| Total Posts: 180 |
|
| |
|
dekkonot
|
  |
| Joined: 22 Dec 2010 |
| Total Posts: 6685 |
|
|
| 14 Apr 2013 04:42 PM |
| Used two 's instead of "s. |
|
|
| Report Abuse |
|
|
|
| 14 Apr 2013 04:45 PM |
First of all, print only shows in the Output window. Second of all, it should be: print 'Hello World!'
Thank you. |
|
|
| Report Abuse |
|
|
dekkonot
|
  |
| Joined: 22 Dec 2010 |
| Total Posts: 6685 |
|
|
| 14 Apr 2013 04:46 PM |
| wts, who are you? Do you literally know nothing about Lua? |
|
|
| Report Abuse |
|
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
|
| 14 Apr 2013 05:39 PM |
print("1") print('2') print([[3]]) print([=[4]=]) print[[5]] print'6' print"7" print[=[8]=] print([===[9]===]) print[===[10]===] ...
All work. |
|
|
| Report Abuse |
|
|
|
| 14 Apr 2013 05:46 PM |
But what about
print[==================================================[hai]===================================================] |
|
|
| Report Abuse |
|
|
dekkonot
|
  |
| Joined: 22 Dec 2010 |
| Total Posts: 6685 |
|
| |
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
|
| 14 Apr 2013 05:47 PM |
| Wouldn't too: imbalance in equal signs. |
|
|
| Report Abuse |
|
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
|
| 14 Apr 2013 05:48 PM |
| Why did I write "too"? =_O |
|
|
| Report Abuse |
|
|
|
| 14 Apr 2013 05:48 PM |
ololoolol
I added one equal sign on the end of the string. |
|
|
| Report Abuse |
|
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
|
| 14 Apr 2013 05:50 PM |
I know. By the way isn't within the string, it is the actual string itself.
Why wait you said, it would be: print[==================================================[hai=]==================================================] |
|
|
| Report Abuse |
|
|
dekkonot
|
  |
| Joined: 22 Dec 2010 |
| Total Posts: 6685 |
|
| |
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
|
| 14 Apr 2013 05:50 PM |
| It's weird to say, but I'm sure you get my point o.O |
|
|
| Report Abuse |
|
|
|
| 14 Apr 2013 05:52 PM |
I couldn't think of a better way to say it :/
I see what you mean. |
|
|
| Report Abuse |
|
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
|
| 14 Apr 2013 05:53 PM |
| "I added another equal sign to the string encloser."? |
|
|
| Report Abuse |
|
|
| |
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
|
| 14 Apr 2013 05:58 PM |
What? Too neat?
O_O
String starter, string content(s), string encloser C: |
|
|
| Report Abuse |
|
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
| |
|
|
| 14 Apr 2013 05:59 PM |
| I would facewall but it's late and I need to keep quiet. |
|
|
| Report Abuse |
|
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
|
| 14 Apr 2013 05:59 PM |
| Too much awesomeness I guess. |
|
|
| Report Abuse |
|
|