News:

  • October 12, 2025, 07:14:49 PM

Login with username, password and session length

Author Topic: MATH feature request  (Read 1924 times)

RBPLC

  • Hero Member
  • *****
  • Posts: 585
MATH feature request
« on: April 18, 2022, 07:33:14 AM »
One frustrating thing about using the MATH instruction is having to know the exact name of all variables needed in the instruction. I'm hoping you guys can incorporate some way to search for variables while in the MATH instruction. It's difficult building an equation with multiple variables and not being able to look up those variables but instead being required to remember them and correctly spell all of them. 

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3761
    • Host Engineering
Re: MATH feature request
« Reply #1 on: April 18, 2022, 09:06:34 AM »
With your cursor in the Expression multi-line editor, hit F9 to bring up the Element Picker.  It also works in the Result field.

We need to add a button, in addition to the hot key.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3761
    • Host Engineering
Re: MATH feature request
« Reply #2 on: April 18, 2022, 09:08:15 AM »
We are looking to implement an auto-complete mechanism for elements, function calls, parameters, etc.  I think this will be extremely helpful.

RBPLC

  • Hero Member
  • *****
  • Posts: 585
Re: MATH feature request
« Reply #3 on: April 18, 2022, 09:10:38 AM »
With your cursor in the Expression multi-line editor, hit F9 to bring up the Element Picker.  It also works in the Result field.

We need to add a button, in addition to the hot key.

Didn't realize you could do this with F9 (not something I use frequently). A button would definitely be helpful.

RBPLC

  • Hero Member
  • *****
  • Posts: 585
Re: MATH feature request
« Reply #4 on: April 18, 2022, 09:11:09 AM »
We are looking to implement an auto-complete mechanism for elements, function calls, parameters, etc.  I think this will be extremely helpful.

Auto-complete would be the most helpful (better than a button).

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3601
  • Darth Ladder
Re: MATH feature request
« Reply #5 on: April 18, 2022, 07:29:16 PM »
And retained but ignored whitespace, like tabs, CRLFs, etc., so we can format long expressions for better reading.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3761
    • Host Engineering
Re: MATH feature request
« Reply #6 on: April 20, 2022, 02:23:48 PM »
We added an Element Picker button to the Expression field label in 2.9.3

Auto Complete is a little more work, TBD  ;D

RBPLC

  • Hero Member
  • *****
  • Posts: 585
Re: MATH feature request
« Reply #7 on: April 21, 2022, 08:29:28 AM »
Thanks franji. Threshold = Button, Objective = Auto Complete.