Updated List Element.md (markdown)
commited
commit
74146afa28dfe3a2e1d69947dd82dec01d8811d4
... | ... | @@ -2,11 +2,11 @@ Gets a value stored in a list, with index starting from 0 (max 1,048,575). The o |
2 | 2 | |
3 | 3 | [[/uploads/Listelement.png]] |
4 | 4 | ## Notes |
5 | The list basically is what you call in scripting language as "Array", but what really is this array. An array is single variable which can contain multiple values , in then which of each value defined as "varible[index]" , normally index in real scripting is automatically generated depending on its order e.g. in JS language: |
|
5 | The list basically is what you call in scripting language as "Array", but what really is this array. An array is single variable which can contain multiple values , in then which of each value defined as "varible[index]" , normally index in real scripting is automatically generated depending on it's order e.g. in JS language: |
|
6 | 6 | `var list = new Array["Hello", "Hi" , "Bye"]` |
7 | 7 | `document.write(list[0])` |
8 | 8 | |
9 | In which it outputs "Hello" as hello is defined as variable `list` and its index is `[0]`. |
|
9 | In which it outputs "Hello" as hello is defined as variable `list` and it's index is `[0]`. |
|
10 | 10 | |
11 | 11 | *auto-generated index in all text script language always start with index 0. |
12 | 12 |