Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
borderColor#3D3D3D
bgColor#F4F4F4
titleColor#3D3D3D
borderWidth0
titleBGColor#3D3D3D
borderStylesolid

ON THIS PAGE

Table of Contents
indent20px

...

Note
titleNote

The two appended objects must be of the same type. 

 

ifArrayGet 

GetEntry(a As Integer) As Dynamic

...

Returns an array entry of a given index. Entries start at zero. If an entry that has not been set is fetched, Invalid is returned.

 

ifArraySet

 

SetEntry(a As Integer, b As Dynamic)

 

Sets an entry of a given index to the passed type value. 

 

...


Code Block
titleExample
list = CreateObject("roList")
list.AddTail("a")
list.AddTail("b")
list.AddTail("c")
list.AddTail("d") 
list.ResetIndex()
x= list.GetIndex()
while x <> invalid
print x
x = list.GetIndex()
end while 
print list[2]