Hi, I just got started and have a couple questions I couldn’t find answers to in the docs or forum so far…
-
What does "validateParam(variable, “roAssociativeArray”, “function”) do exactly? I presume it confirms the variable is of type(“roAssociativeArray”) but I don’t know how it uses the “function” argument (it doesn’t seem to make a difference what is passed there)
-
Is there a line wrap character to allow you to break the source lines? I prefer to keep my source lines < 80 characters wide, so I was looking for something equivalent to the "" line break character so I can arbitrarily format the lines.
-
I’d be interested in reading more about the “ro” and “if” relationship. The BrightScriptReferenceManual.pdf talks about “ro” classes implementing multiple “if” classes, but I couldn’t find a basic explanation of what “ro” and “if” stand for, and why the app developer needs to be concerned with “if” classes. It seems the ComponentReference only documents “ro” classes, so the discussion of “if” in the former document doesn’t seem relevant to the app developer. A deeper discussion or some examples may be helpful here.
I wanted to add that I’m really impressed with the developer support so far. All the hard stuff is already done by the SDK for you, the documentation is good, and the sample code is very good.
Thanks!
Jason
