User talk:Yiyuezhuo

From The Battle for Wesnoth Wiki
Revision as of 08:21, 12 November 2013 by Sapient (talk | contribs) (Created page with "Hi, thanks for translating the SyntaxWML page. I'm not sure, but I think you may have misunderstood this sentence: "An explicit index inside an array is also considered a con...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Hi, thanks for translating the SyntaxWML page.

I'm not sure, but I think you may have misunderstood this sentence: "An explicit index inside an array is also considered a container."

Allow me to elaborate.

The attribute variable="foo[1]" references an explicit index (index=1) inside an array. When expressed in this form, it is always a Container variable. This means, for example, that it would not make sense for an arbitrary array or a scalar to be assigned directly to foo[1].

-- Sapient

This page was last edited on 12 November 2013, at 08:21.