We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8578a1 commit b4e5d72Copy full SHA for b4e5d72
Dynamic_array_class/Test.asp
@@ -22,6 +22,9 @@ da.add_element("A")
22
Response.Write("Elements inside: ")
23
da.write_array()
24
25
+Response.Write("--- Get array dimension --- <br>")
26
+Response.write("Array dimension: " & da.get_dimension() & "<br>")
27
+
28
Response.Write("--- Get element with index 1 --- <br>")
29
30
Response.Write("Element: ")
Dynamic_array_class/dArray.class.asp
@@ -28,7 +28,7 @@ class dArray
'Funtion to get array dimension'
Public Function get_dimension()
31
- get_dimension = array_dimension
+ get_dimension = array_dimension + 1
32
End Function
33
34
'Funtion to get the entire array'
0 commit comments