arrayvalueobjects
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| arrayvalueobjects [2021/10/11 20:32] – wikiadmin | arrayvalueobjects [2026/01/25 20:27] (current) – [JavaScript Notes] wikiadmin | ||
|---|---|---|---|
| Line 47: | Line 47: | ||
| avo = ArrayDataSource-> | avo = ArrayDataSource-> | ||
| - | value1 | + | valueObject1 |
| //Arrays are indexed starting at 0, so some of the elements of the array would be: | //Arrays are indexed starting at 0, so some of the elements of the array would be: | ||
| - | value2 | + | valueObject2 |
| - | value3 | + | valueObject3 |
| + | |||
| + | //get the String values: | ||
| + | |||
| + | value1 = valueObject1.getStringValue(); | ||
| + | value2 = valueObject2.getStringValue(); | ||
| + | value3 = valueObject3.getStringValue(); | ||
| //You may want to know how many elements are in the array: | //You may want to know how many elements are in the array: | ||
| - | count = avo.size(); | + | count = avo.length; |
| + | print("AVO size is: " + count); | ||
| </ | </ | ||
arrayvalueobjects.1633998740.txt.gz · Last modified: by wikiadmin
