Remove

concerns

The Remove attribute function removes one index and moves higher indexes to the next lower index.

 

Syntax

Remove(Index)

Return value

None

Parameter

Use

Name

Type

Passing

Description

Required

Index

Long

ByVal

Index to be removed.

 

Example:

 

Colors.Add({"red", "blue", "green"})

Colors.Remove(1)

 

MsgBox(Colors.Join & " " & Colors.LowBound & " " & Colors.UpBound)

#shows red,green 0 1