ãã¼ãã«ã³ã³ã¹ãã©ã¯ã¿ tslots := ( 'id' '=' exp | '[' exp ']' '=' exp ) [','] exp := '{' [tslots] '}' æ°ãããã¼ãã«ãä½æããã local a = {} // 空ãã¼ãã«ãä½æãã ãã¼ãã«ã³ã³ã¹ãã©ã¯ã¿ã§ã¹ããã宣è¨ãå«ãããã¨ãã§ãããããã¯æ¬¡ã®æ¸å¼ãåãã id = exp [','] ãã¼ã¨ãã¦idããå¤ã¨ãã¦expãåãæ°è¦ã¹ããããä½æããã local a = { slot1 = "I'm the slot value" } å¥ã®æ¸å¼ã¨ãã¦æ¬¡ã®ãããªãã®ãããã '[' exp1 ']' = exp2 [','] ãã¼ã¨ãã¦exp1ããå¤ã¨ãã¦exp2ãåãæ°è¦ã¹ããããä½æããã local a= { [1] = "I'm the value" } ãã®2ã¤ã®æ¸å¼ãæ··ãã¦ä½¿ç¨ãããã¨ãã§ãã
{{#tags}}- {{label}}
{{/tags}}