Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script doesn't work
#5
Yes,  I know that already, and actually I wonder why i can't make class like this


Code:
class Foo
{
    constructor()
    {
        table = {};
        table[1] = "Hello";
        table[2] = "XASDASDADSa";
        table[3] = 22;
    }

    for(local i = 1; i < 3; i++)
        table[i] = null;
};

compiler says: expected 'IDENTIFIER'
Reply


Messages In This Thread
Script doesn't work - by Tuv - 28.12.2015, 11:36
RE: Script doesn't work - by Buras - 28.12.2015, 11:49
RE: Script doesn't work - by Tuv - 28.12.2015, 12:42
RE: Script doesn't work - by Bimbol - 28.12.2015, 13:17
RE: Script doesn't work - by Tuv - 28.12.2015, 17:25
RE: Script doesn't work - by Bimbol - 28.12.2015, 17:34

Possibly Related Threads…
Thread Author Replies Views Last Post
  Script Ayate 3 2,973 27.12.2015, 14:12
Last Post: Buras

Forum Jump:


Users browsing this thread: 1 Guest(s)