Platforms to show: All Mac Windows Linux Cross-Platform

Back to VariantHashSetIteratorMBS class.

VariantHashSetIteratorMBS.isEqual(other as VariantHashSetIteratorMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Data Types MBS DataTypes Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns true if both iterators are equal.
Example
// Create a map
dim m as new VariantHashSetMBS

m.insert(1.0) // double
m.insert("Hello") // string
m.insert(3) // integer

// get iterators pointing to first and after last element
dim i as VariantHashSetIteratorMBS = m.first
dim e as VariantHashSetIteratorMBS = m.last

// Show all keys and values
while i.isEqual(e) = false
MsgBox i.Key
i.MoveNext
wend

VariantHashSetIteratorMBS.isNotEqual(other as VariantHashSetIteratorMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Data Types MBS DataTypes Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns true if both iterators are not equal.
Example
// Create a map
dim m as new VariantHashSetMBS

m.insert(1.0) // double
m.insert("Hello") // string
m.insert(3) // integer

// get iterators pointing to first and after last element
dim i as VariantHashSetIteratorMBS = m.first
dim e as VariantHashSetIteratorMBS = m.last

// Show all keys and values
while i.isNotEqual(e)
MsgBox i.Key
i.MoveNext
wend

VariantHashSetIteratorMBS.Key as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Data Types MBS DataTypes Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the current key.

VariantHashSetIteratorMBS.MoveNext

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Data Types MBS DataTypes Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Moves the iterator to the next item.
Example
// Create a map
dim m as new VariantHashSetMBS

m.insert(1.0) // double
m.insert("Hello") // string
m.insert(3) // integer

// get iterators pointing to first and after last element
dim i as VariantHashSetIteratorMBS = m.first
dim e as VariantHashSetIteratorMBS = m.last

// Show all keys and values
while i.isNotEqual(e)
MsgBox i.Key
i.MoveNext
wend

The items on this page are in the following plugins: MBS DataTypes Plugin.


The biggest plugin in space...