Keyword of Switch command case sensitive issue


Version: 2023b

Type: Bug Fixes

Category: Programming

Subcategory: LabTalk

Jira: ORG-26527


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.