News:
Home
Help
Search
Login
Register
May 17, 2024, 12:44:06 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Host Engineering Forum
»
General Category
»
General Discussion
»
Do-More Array
« previous
next »
Print
Pages: [
1
]
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.
Logged
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.
Logged
"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
Print
Pages: [
1
]
« previous
next »
Host Engineering Forum
»
General Category
»
General Discussion
»
Do-More Array