News:

  • May 17, 2024, 12:44:06 AM

Login with username, password and session length

Author Topic: Do-More Array  (Read 1199 times)

pbw

  • Hero Member
  • *****
  • Posts: 121
Do-More Array
« on: January 07, 2018, 03:43:21 PM »
Is there a way to reference a user data type? Say I want to write to "Leg.Amps" with a math box, but Leg.[v1] doesn't seem to work. Or is this not possible. 

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 5996
  • Yes Pinky, Do-more will control the world!
Re: Do-More Array
« Reply #1 on: January 07, 2018, 03:53:33 PM »
Array indices are used to select elements from a block, not fields from a structure. If you were to create a block of user structures Leg0-99, you can do Leg[V1].Amps, but there is no way to select different fields within a structure.
"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