Script like below fails to work in Origin 2023, user need to write keyword “Case” as lower one “case” to make it works.
nn=2;
switch (nn)
{
Case 1:
type "aa";
break;
Case 2:
type "bb";
break;
Case 3:
type "cc";
break;
default:
break;
}
Fixed in Origin2023b.