Skip to main content

I have a complex, but important formula that I have made to work in another context (Geogebra), but it seems to be generating a ‘Parse error’ at various points within my shape in Lucidchart.

As you can see from the above images, various points within the code/formula are greyed out.

More confusingly, the sections that are greyed out are not consistent. As you can see in the top image @’4N’ is blue in the first instance and black in the second instance. Vice versa in the second image.

Similarly in the 2nd last image, we see @’3St’ sequentially blue, blue and grey; and in the last image @’4St’ is first blue, then grey.

To be fair, there are 32 Properties in my shape. I could cut this down to 22 if it would help, it would just make the above formula about 10-15% longer.

Further info: I tried the longer formula with the reduced Properties version of the shape and got a different error:

It still seems to be a symptom of the same problem though. Some of the formula is greyed out, some is not. The distinction appears to be arbitrary.


Hello,

It appears in the screenshots that you have some missing closing apostrophes on strings. For example right before the unexpected character error the @’1St’ is missing the second ‘. When this happens the parser starts mixing up strings and code because it thinks that the string continues until the next apostrophe. So my recommendation would be to look through your formula for places that might be missing an apostrophe and make sure they all end where they are supposed to. 

Kyler 


Thanks Kyler - good eye! It was that and one other I had missed in the myriad. All fixed!

 


Reply