What is this return?

I have an IDArray that returns somtimes;
<Component: roArray> =

[
]

Which is fine but how do I identify that as a Returned value so I can make another expression out of it?

I tried if IDArray = “” and if IDArray = Invalid but both didn’t do anything because I assume the above is neither “” or Invalid so what is it then? Thx

If IDArray <> invalid
do something
end if

Hello, the IDArray does return other things at times as well so I need to identify it only when it is that empty value which is not Invalid and if so then change IDArray = Invalid because when it returns other values that I want then I change IDArray to something else

if IDarray.count() = 0
do something
end if

Great, thank you

@matrixebiz -
please take a computer programming 101 course, i implore you!

I have watched your questions and i can tell you are smart but know very little about writing software. Here is an online course i recommend for you: https://www.udacity.com/course/intro-to … nce–cs101 - it is free and it is fun, a few years ago when i was binging on MOOCs i skimmed it for entertainment’s sake. All you need is your browser, watch videos and try code there. It’s in Python if i remember but that’s irrelevant - when you finish it you will know the ropes and doing what you want in BrightScript will be a walk in the park (not like right now - challenge for even the simplest things).

Go and finish it first - then come back.

Looks like a good start, Thx.
I never know where to start but your right, I can usually make an educated guess on what I need the code to do in theory so I find myself hacking my way through the code to make it do what I want and I usually get to where I need too but with a lot of wasted (self learning) time on my end via trial and error and asking a bunch of questions pissing some of the coder off due to my coding ignorance, sorry about that.