| Summary: | Program.global should support arrays | ||
|---|---|---|---|
| Product: | [Technology] RTSC | Reporter: | Dave Russo <d-russo> |
| Component: | Core | Assignee: | Dave Russo <d-russo> |
| Status: | ASSIGNED --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | dfriedland, sg |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
It should be possible to create a global array of primitive types (ints, floats, strings) or module instances. For example, the following should be allowed in a .cfg script: var Mod = xdc.ueModule("some.interesting.Mod"); var m1 = Mod.create(); var m2 = Mod.create(); Program.global myInstanceArray == [m1, m2]; Program.global myIntArray == [1, 2, 3]; Program.global myStringArray == ["this", "is", "easy"];