List Parameters

Top  Previous  Next

List parameters define a list of values that the parameter can be selected from. You must list out every value.

 

List parameters are defined using the list command.

 

$p=list(value1,value2,value3,...)

 

Examples:

 

$p=list(2,3,5,7,11,13,17,100)                $p can be any of the listed values.

$q=list(0,pi/4,pi/2,3pi/4,pi)                $q can be any of the listed values (inserted as decimals).

$r=list("string1","string2","string3")        $r can be any of the listed strings.