News:

  • June 30, 2026, 01:45:58 AM

Login with username, password and session length

Author Topic: Miscellaneous Do-More Questions  (Read 55302 times)

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3619
  • Darth Ladder
Re: Miscellaneous Do-More Questions
« Reply #30 on: February 15, 2015, 12:19:26 AM »
Like this: "D[D[V0] + D[V1]] = Expression"? Yes.

In a related/overlapping vein, would it be feasible to open up indices to other than V-Memory?  The 0-65K UINT range of V's aligns nicely with max array sizes, but it would have been nice today to be able to do MyUserDB[MyNamedConstant].  Don't know how much grief that would cause y'all, or if it's even possible.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6164
  • Yes Pinky, Do-more will control the world!
Re: Miscellaneous Do-More Questions
« Reply #31 on: February 15, 2015, 11:11:07 AM »
Well...if a named constant is jus a super simple expression, I would expect it to work as requested.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3833
    • Host Engineering
Re: Miscellaneous Do-More Questions
« Reply #32 on: February 15, 2015, 03:37:54 PM »
In a related/overlapping vein, would it be feasible to open up indices to other than V-Memory?  The 0-65K UINT range of V's aligns nicely with max array sizes, but it would have been nice today to be able to do MyUserDB[MyNamedConstant].  Don't know how much grief that would cause y'all, or if it's even possible.
In MATH expressions, anything/everything should work.  However, most other instructions require "simple" array accesses using V array index or V + offset array index (where offset is decimal range 1..63).  This "limitation" (it's actually a powerful feature) also applies to Ladder Status, Data View status, and Trend View from within Designer (yes, Virginia, you can monitor R[V42+63] on your Trend View, and as V42 changes, your realtime plot of that array reference will work seamlessly  ;D)

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3619
  • Darth Ladder
Re: Miscellaneous Do-More Questions
« Reply #33 on: February 15, 2015, 08:12:49 PM »
Well...if a named constant is jus a super simple expression, I would expect it to work as requested.

Right, I figured that it would in the context of that post, which was the destination field of MATH boxes.  Why I said "overlapping" was my request was broader but less deep than that specific scenario: the feasibility of expanding indirect addressing throughout Do-More, though not to the complexity we've been discussing re: the MATH box arguments (unless you really wanna! :) )
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6164
  • Yes Pinky, Do-more will control the world!
Re: Miscellaneous Do-More Questions
« Reply #34 on: February 15, 2015, 09:29:21 PM »
In simple parameters, no. The encoding can't support it. We envision an expanded encoding in the future that might.

But we do eventually see the current expressions supported for most input parameters.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3619
  • Darth Ladder
Re: Miscellaneous Do-More Questions
« Reply #35 on: February 15, 2015, 09:47:01 PM »
In simple parameters, no. The encoding can't support it. We envision an expanded encoding in the future that might.

But we do eventually see the current expressions supported for most input parameters.

Can you define for me "simple parameters" vs. "most input parameters".  Sounds like category 2 gets enhanced parameters before category 1.  Am I reading that correctly?
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.