|
| 01 May 2012 10:58 AM |
tab = {function test() return 1+1 end} print(tab:test())
Work?
|
|
|
| Report Abuse |
|
|
| |
|
|
| 01 May 2012 11:03 AM |
tab = {test = function() return 1+1 end} print(tab:test())
~ ROBERT00001 ~ ~(ಠωಠ)~ |
|
|
| Report Abuse |
|
|
|
| 01 May 2012 11:04 AM |
system = { alert = function(cp) if pcall (function() game.Workspace.Checkpoints[cp].Value = true end) then else print("No checkpoint found") end end end } Returns this: Workspace.Settings:18: '}' expected (to close '{' at line 12) near 'end'
Even though there is one there :/ |
|
|
| Report Abuse |
|
|
|
| 01 May 2012 11:07 AM |
One end too many, I have verified it.
~ ROBERT00001 ~ ~(ಠωಠ)~ |
|
|
| Report Abuse |
|
|