Maths Editor Status Report

A place to share your useful hints for getting the most from Proclaim, be it as a user or an administrator.

Example maths items are best placed in the "Example Proclaim Maths" topic.
steve
Posts: 443
Joined: Wed Nov 30, 2011 10:20 pm
Been thanked: 103 times

Maths Editor Status Report

Post by steve »

I've been lamenting the loss of this for years (8 to be precise) , and finally found out how to turn it back on.
This is the feature when you press 'CHECK' in Proclaim Maths editor, it gives you a list of
Variables
Mergecodes
Constants
This is invaluable in spotting issues/typos with large sections of code (you might have spelt a variable name slightly differently, or the system interprets a field as a constant by mistake for example)

I replicated the behaviour in our VisualStudio Code plugin, but you can enable it with a System Parameter:
Key: Maths Status Report
Code: Yes
Value: (blank)

Undocumented so - use at your own risk etc etc.

(now you'll all tell me you've known about this for years....) :roll:

enthusiastp
Posts: 37
Joined: Tue Dec 05, 2017 12:33 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Maths Editor Status Report

Post by enthusiastp »

Hi Steve

Thanks for this

Just wondering if you have any screenshots of this working please?

Cheers

steve
Posts: 443
Joined: Wed Nov 30, 2011 10:20 pm
Been thanked: 103 times

Re: Maths Editor Status Report

Post by steve »

yep, here's some sample code, with deliberate typo of "v-test" and also incorrect quoting of a field.
The code compiles fine but clearly doesn't work as intended.
When you hit 'Check', then the information window pops up, and shows you it has found 3 variables and a constant that is actually a field.

Image

steve
Posts: 443
Joined: Wed Nov 30, 2011 10:20 pm
Been thanked: 103 times

Re: Maths Editor Status Report

Post by steve »

and just as a comparison, here's what the VScode language server extension spits out:
- syntaxcheck listing the same
- navigation links outline listing Fields, variables and constants.

Image