Column Formula Argument Separator Convert failed


Version: 2022b SR1

Type: Bug Fixes

Category: Programming

Subcategory:

Jira: ORG-25334


We use ; as function argument separator in Labtalk functions.

  • Operating systems where comma (,) is used as decimal separator by default, e.g. G OS.

  • In Origin, Separator is set to 1.000,0 on Numeric Format tab in Preferences: Options dialog manually.

If user types comma (,) as argument separator, Origin will convert it to ; automatically.

But it failed in some Labtalk functions. It also failed in Python or Origin C.

E.g. in Set Column Values or F(x)

  • enter text(value(Dec2bin(A)), "#8"), it was turned into text(value(Dec2bin(A)). "#8"). It should be turned into text(value(Dec2bin(A)); "#8")

  • Define some python function and then call py.group_sum(A,5) as formula. It turned into py.group_sum(A.5). It should be turned into py.group_sum(A;5)

Fixed in Origin 2022b SR1.