Hi
Please top correct the code.
I'm Thank you your example
{switch
(RatingPost.UserName == "fakhravary","Test Example 1",
RatingPost.UserName == "sareh_tt","Test Example 2")}
switch
Re: switch
Hello.
You should write Switch().
It's case sensitive.
Thank you.
You should write Switch().
It's case sensitive.
Thank you.
Re: switch
I'm not familiar with the structure
Thanks, I'll take a full sample
{
Switch("software")
case "1":
return "aa";
case "2":
return "bb";
case "3":
return "cc";
}
Thanks, I'll take a full sample
{
Switch("software")
case "1":
return "aa";
case "2":
return "bb";
case "3":
return "cc";
}
Re: switch
Hello.
You could fine a description if the Switch function in the Text Editor.
You could fine a description if the Switch function in the Text Editor.
Thank you.object Switch (condition1, value1, condition2, value2, ...)
The Switch evaluates the expressions from left to right, and returns the value associated with the first expression to evaluate to True. If all of the expressions are False, then Switch returns null.
Parameters
Condition1, condition2, and so on are Boolean expressions. value1, value2, and so on are the possible values that may be returned.
Return Value
One of the values in the value list value1, value2, and so on.