File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ End Function
2929
3030' Funtion to get array dimension'
3131Function get_array_dimension ()
32- get_array_dimension = array_dimension
32+ get_array_dimension = array_dimension + 1
3333End Function
3434
3535' Funtion to get the entire array'
Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ add_element_to_array("A")
2323Response .Write (" Elements inside: " )
2424write_array()
2525
26+ Response .Write (" --- Get array dimension --- <br>" )
27+ Response .write (" Array dimension: " & get_array_dimension() & " <br>" )
28+
2629Response .Write (" --- Get element with index 1 --- <br>" )
2730
2831Response .Write (" Element: " )
Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ add_element_to_array("A")
1717Response .Write (" Elements inside: " )
1818write_array()
1919
20+ Response .Write (" --- Get array dimension --- <br>" )
21+ Response .write (" Array dimension: " & get_array_dimension() & " <br>" )
22+
2023Response .Write (" --- Get element with index 1 --- <br>" )
2124
2225Response .Write (" Element: " )
You can’t perform that action at this time.
0 commit comments