Basic Syntax

Select statements


The Select statement branches on a given expression value with specified constants and take action according to the first constant to match. The statements in the optional Case Else branch will be executed if none of the specified Case constants matched the expression value.

Usage:

Select Case (expression)
	Case constant1
		(statement)
	Case constant2
		(statement)
	Case Else
		(statement)
End Select

Examples:

Select Case {Orders.quantity}
	Case 1 To 7,8,9
 		formula = "less than ten"
	Case 10		
		formula = "ten"
	Case 15
		formula = "fifteen"
	Case 20
		formula = "twenty"
	Case Else
		formula = "unknown"
End Select

i-net software strives to provide accurate product documentation. Please give us your feedback using the form below.
NOTE: This form is for documentation feedback only. For technical assistance, please send an email to crystalclear@inetsoftware.de.

This page is: very poor very good
Comment: