Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSExpressionMBS class.

NSExpressionMBS.arguments as Variant()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method iCloud MBS MacCloud Plugin 11.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the arguments for the receiver.
Example
dim args() as Variant
args.Append 5.0
dim n as NSExpressionMBS = NSExpressionMBS.expressionForFunction("abs:", args)

// query arguments
dim theargs() as Variant = n.arguments
MsgBox theargs(0)

Returns the arguments for the receiver—that is, the array of expressions that will be passed as parameters during invocation of the selector on the operand of a function expression.

This method raises an exception if it is not applicable to the receiver.

NSExpressionMBS.constantValue as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
method iCloud MBS MacCloud Plugin 11.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the constant value of the receiver.
Example
dim n as NSExpressionMBS = NSExpressionMBS.expressionForConstantValue(5)
dim v as Variant = n.constantValue
MsgBox v.StringValue // shows 5

This method raises an exception if it is not applicable to the receiver.
Available in Mac OS X v10.4 and later.

NSExpressionMBS.Constructor(Type as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method iCloud MBS MacCloud Plugin 11.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Initializes the receiver with the specified expression type.

Available in Mac OS X v10.4 and later.

NSExpressionMBS.expressionType as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method iCloud MBS MacCloud Plugin 11.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the expression type for the receiver.
Example
dim n as NSExpressionMBS = NSExpressionMBS.expressionForVariable("hello")
MsgBox str(n.expressionType) // = NSVariableExpressionType

This method raises an exception if it is not applicable to the receiver.

NSExpressionMBS.functionName as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method iCloud MBS MacCloud Plugin 11.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the function for the receiver.
Example
dim args() as Variant
args.Append "World"
args.Append 5.0
dim n as NSExpressionMBS = NSExpressionMBS.expressionForFunction("Hello", args)

MsgBox n.functionName

This method raises an exception if it is not applicable to the receiver.

NSExpressionMBS.keyPath as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method iCloud MBS MacCloud Plugin 11.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the key path for the receiver.

This method raises an exception if it is not applicable to the receiver.
Available in Mac OS X v10.4 and later.

NSExpressionMBS.leftExpression as NSExpressionMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method iCloud MBS MacCloud Plugin 11.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the left expression of an aggregate expression.

This method raises an exception if it is not applicable to the receiver.
Available in Mac OS X v10.5 and later.

NSExpressionMBS.operand as NSExpressionMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method iCloud MBS MacCloud Plugin 11.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the operand for the receiver.

The operand for the receiver—that is, the object on which the selector will be invoked.
The object is the result of evaluating a key path or one of the defined functions. This method raises an exception if it is not applicable to the receiver.
Available in Mac OS X v10.4 and later.

NSExpressionMBS.predicate as NSPredicateMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method iCloud MBS MacCloud Plugin 11.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Return the predicate of a subquery expression.

This method raises an exception if it is not applicable to the receiver.
Available in Mac OS X v10.5 and later.

NSExpressionMBS.rightExpression as NSExpressionMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method iCloud MBS MacCloud Plugin 11.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the right expression of an aggregate expression.

This method raises an exception if it is not applicable to the receiver.
Available in Mac OS X v10.5 and later.

NSExpressionMBS.variable as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method iCloud MBS MacCloud Plugin 11.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the variable for the receiver.
Example
dim n as NSExpressionMBS = NSExpressionMBS.expressionForVariable("hello")
MsgBox n.variable

This method raises an exception if it is not applicable to the receiver.
Available in Mac OS X v10.4 and later.

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


The biggest plugin in space...