matrixebiz
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2016
09:40 AM
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
<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
6 REPLIES 6

squirreltown
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2016
09:49 AM
Re: What is this return?
If IDArray <> invalid
do something
end if
Kinetics Screensavers
matrixebiz
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2016
10:06 AM
Re: What is this return?
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

squirreltown
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2016
10:13 AM
Re: What is this return?
if IDarray.count() = 0
do something
end if
Kinetics Screensavers
matrixebiz
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2016
10:23 AM
Re: What is this return?
Great, thank you
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2016
04:48 PM
Re: What is this return?
@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.
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.
matrixebiz
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2016
06:24 PM
Re: What is this return?
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.
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.