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

NSRangeMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS Main Plugin 9.6 Yes No No Yes, macOS only No
Function: Creates an empty range.
Example:
dim r as new NSRangeMBS
MsgBox r // {0, 0}

See also:

Feedback, Comments & Corrections

NSRangeMBS.Constructor(Location as UInt32, Length as UInt32)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS Main Plugin 9.6 Yes No No Yes, macOS only No
Function: Creates a new range with the given values.

See also:

Feedback, Comments & Corrections

NSRangeMBS.Constructor(p as Ptr)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS Main Plugin 17.1 Yes No No Yes, macOS only No
Function: Creates a new instance using data at the pointer.
Notes: Make sure the pointer is valid and has the right data and size.

See also:

Feedback, Comments & Corrections

NSRangeMBS.Constructor(s as string)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS Main Plugin 9.6 Yes No No Yes, macOS only No
Function: Creates a new NSRange object using the given string.
Example:
dim r as new NSRangeMBS("{3, 4}")
MsgBox r // {3, 4}

See also:

Feedback, Comments & Corrections

NSRangeMBS.Equal(other as NSRangeMBS) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS Main Plugin 9.6 Yes No No Yes, macOS only No
Function: Whether two ranges are equal.

Feedback, Comments & Corrections

NSRangeMBS.Intersection(other as NSRangeMBS) as NSRangeMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS Main Plugin 9.6 Yes No No Yes, macOS only No
Function: Returns the intersection of the two ranges.

Feedback, Comments & Corrections

NSRangeMBS.LocationInRange(location as UInt32) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS Main Plugin 9.6 Yes No No Yes, macOS only No
Function: Whether the location is in the range.

Feedback, Comments & Corrections

NSRangeMBS.Operator_Convert as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS Main Plugin 9.6 Yes No No Yes, macOS only No
Function: Converts the object to string.
Example:
dim r as new NSRangeMBS("{3, 4}")
MsgBox r // {3, 4}

Feedback, Comments & Corrections

NSRangeMBS.String as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS Main Plugin 9.6 Yes No No Yes, macOS only No
Function: Returns the string representation of this range.
Example:
dim r as new NSRangeMBS("{3, 4}")
MsgBox r.String // {3, 4}

Feedback, Comments & Corrections

NSRangeMBS.Union(other as NSRangeMBS) as NSRangeMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa MBS Main Plugin 9.6 Yes No No Yes, macOS only No
Function: Creates the union of two ranges.

Feedback, Comments & Corrections

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




Links
MBS FileMaker tutorial videos