SelectVal (SV)

<< Click to Display Table of Contents >>

Manual > Control Reference > Route > Route Methods >

SelectVal (SV)


 

Select a value according to a condition.

 


syntax

SelectVal(

         condition,
         value1,

         value2

         )

 

or

 

SV(

         condition,

         value1,

         value2

         )

 

*SV is an abbreviation for SelectVal.

 


Parameters

 

condition

 

Type:

Boolean

 

conditions.

 

 

value1

 

Type:

General purpose

 

The value to be selected when condition is TRUE.

 

 

value2

 

Type:

General purpose

 

The value selected when condition is FALSE.

 

Return Value

 

 

Type:

General purpose

 

Returns the selected value.

 


hmtoggle_plus1Explanation

 

hmtoggle_plus1Example

 


Supported


Script Action

Browser script

Calculation Expression Syntax

 

 


reference