L2000
|
  |
| Joined: 03 Apr 2008 |
| Total Posts: 77448 |
|
|
| 24 Aug 2011 08:05 PM |
Post your output along with a script, and I'll post the meaning of the output as well as fix your script.
It will appear like this: Your name Your output Meaning of output Fixed script
I will then record the output for future usage.
- Canadian Idiot - |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Aug 2011 08:08 PM |
TheTable = { hi, 2, 7, bob, 1, 97 = "bananas" } for i,v in ipairs(TheTable) do print (i,v) end
Then output says Workspace.Script:1: '}' expected near '=' |
|
|
| Report Abuse |
|
|
| |
|
L2000
|
  |
| Joined: 03 Apr 2008 |
| Total Posts: 77448 |
|
|
| 24 Aug 2011 08:11 PM |
@TrollHappy Output: Workspace.ScriptLocation:Line: unexpected symbol near '*' Your name: Trollhappy Output meaning: You cannot directly print that character. You must enclose it in quotes, or use it in some other method that would work. Suggested: print("*")
- Canadian Idiot - |
|
|
| Report Abuse |
|
|
L2000
|
  |
| Joined: 03 Apr 2008 |
| Total Posts: 77448 |
|
|
| 24 Aug 2011 08:14 PM |
@Harry Output: Workspace.Script:1: '}' expected near '=' Meaning: You cannot assign a variable a value within a table. You will also need to set string values inside quotes; otherwise, it will print nil. Fixed: TheTable = { "hi", 2, 7, "bob", 1,"bananas" } 97 = "bananas" for i,v in ipairs(TheTable) do print (i,v) end
Then output says Workspace.Script:1: '}' expected near '='
- Canadian Idiot - |
|
|
| Report Abuse |
|
|