Use of ArrayString, or Lack Thereof #1463
Unanswered
rschmunk
asked this question in
Questions and Answers
Replies: 1 comment
-
I'll leave this open for a bit in case someone with more historical context wants to chime in, but my guess is that using
that's what it is doing. What I don't see is some kind of friendly helper for non-scalar arrays (in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is the
ArrayString
class used anywhere other than one of the test classes?I was trying to figure out why calling
Variable.getArray()
on a single-valued String variable was returning anArrayObject.D0
rather than, as I would have guessed, andArrayString.D0
. After delving into the code it looks to me that the only place where anArrayString
object is ever created is inTestNc4Structures
.It's easy enough to call
ArrayObject.D0.get()
to retrieve the actualString
, but I was surprised that theArrayString
class even exists as it's essentially never used. Should I have been?Beta Was this translation helpful? Give feedback.
All reactions