thetacah
|
  |
| Joined: 18 Jan 2013 |
| Total Posts: 16026 |
|
|
| 02 Jun 2013 06:27 PM |
This says nil infinity times when it should say Hi infinity times. what's wrong with the simple small script?
while 1+1 == 2 do print (Hi) wait () end
|
|
|
| Report Abuse |
|
|
MelonJack
|
  |
| Joined: 26 May 2012 |
| Total Posts: 47 |
|
|
| 02 Jun 2013 06:29 PM |
while 1+1 == 2 do print ("Hi") wait () end
Strings have to be in quotes. What you originally had would work if you had defined the variable Hi:
Hi = "Potato"
while 1+1 == 2 do print (Hi) wait () end |
|
|
| Report Abuse |
|
|
thetacah
|
  |
| Joined: 18 Jan 2013 |
| Total Posts: 16026 |
|
|
| 02 Jun 2013 06:30 PM |
| Oh never mind I just found what was wrong in Hi I needed tyo put these " things |
|
|
| Report Abuse |
|
|