Normally, the end of expression error has to do with the end of an instruction or group of instructions. It’s normally a / forward slash that will be in the front of the section name if that section has been used or after the name if it hasn’t been used.
I checked them all and they all seem ok.
I’m going to try deleting parts to see if I can find where the missing / is.
Ok, it was somewhere in one of the pattern pieces. I deleted them all on the body suit (not the test square). Then put back the 1st one and everything worked. But when I tried to put back the 2nd one, the error was there.
So I deleted the 2nd one again & created another piece and it’s working.
You can delete the one that I made because I don’t think you’ll need it.
@jessiemcewan There was a CurrentSeamAllowance/ in the section which @Grace identified as containing the culprit. I added a 2, though I’m guessing I should have deleted the / instead. but it should be easy enough to adjust now!
Actually in the last bug fix I made to fix the OK button in the piece dialog I came across an issue with the CurrentSeamAllowance variable… that may have other implications elsewhere. In the case of the OK button, it had to do with the variable has not been initialized yet when you’re creating a piece, so if the CheckState() routine tries to validate the before and after seam allowances - which default to CurrentSeamAllowance - it fails, and the OK button gets disabled. I worked around it, but should probably figure out how to initialize it when creating a piece.
Hey wait… I wonder what ver @jessiemcewan used to make the patten? Wonder if this ver was before I fixed the validation of the before and after allowances that allowed invalid chars in the formula?
If it’s before fixing the before & after SA formulas, then that could explain why an invalid CurrentSeamAllowance variable could be written, but then produce an error when reading the pattern.