bahamut8348 / superobject

Automatically exported from code.google.com/p/superobject
0 stars 1 forks source link

Cannot add an array to the ISuperObject #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Declare variable o: ISuperObject;
2. Assign variable with o := so('');
3. Try to "add" an array like o.A['Test'] := TSuperArray.Create;

What is the expected output? What do you see instead?
It should be able to compile.

What version of the product are you using? On what operating system?
1.2.4

Please provide any additional information below.
I added it myself in the code but if I want to download an update again it will 
be redundant.

Original issue reported on code.google.com by Francois...@gmail.com on 21 Jun 2012 at 2:05

GoogleCodeExporter commented 9 years ago
+1
o.A['Test'] := - is read-only
o.A['Test'].S[0]:='Test' - error
o['Test'].asArray.S[0]:=... - error

and how to check object to exist array 'test' in therein???

Original comment by mixa_sup...@mail.ru on 25 Dec 2013 at 12:34