Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

TextToVariantOrderedMapMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Data Types MBS DataTypes Plugin 15.1 Yes Yes Yes Yes No
Function: An alternative dictionary class for an ordered map with texts as keys and variants as values.
Example:
dim s as new TextToVariantOrderedMapMBS

s.Value("Hello") = "Hallo"
s.Value("World") = "Leute"

MsgBox str(s.Count) // shows 2

MsgBox s.Value("Hello")+" "+s.Value("World") // shows "Hallo Leute"
MsgBox s.Key(1)+" "+s.Key(0) // shows "Hello World"
MsgBox s.ValueAtIndex(1)+" "+s.ValueAtIndex(0) // shows "Hallo Leute"
Notes:
All text comparison is done either case sensitive or insensitive.
You can choose whether you want to keep the map ordered using the OrderedMap class or whether you prefer a higher speed with the HashMap class.

Feedback, Comments & Corrections

This class has no sub classes.


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


TextToVariantOrderedMapIteratorMBS   -   TidyAttributeMBS




Links
MBS FileMaker tutorial videos