Compiled successfully
------ Running ------
created feed connection for https://drive.google.com/file/d/0B_qjht-B80ceNC11OGs3WG9GeDA/edit?usp=sharing
url: https://drive.google.com/file/d/0B_qjht-B80ceNC11OGs3WG9GeDA/edit?usp=sharing
Took: 53ms
Can't parse feed
BrightScript Micro Debugger.
Enter any BrightScript statement, debug commands, or HELP.
Current Function:
034: Function get_category_names(categories As Object) As Dynamic
035:
036: categoryNames = CreateObject("roArray", 100, true)
037:
038: for each category in categories.kids
039: 'print category.Title
040: categoryNames.Push(category.Title)
041: next
042:
043: return categoryNames
044:
045: End Function
Syntax Error. (runtime error &h02) in .../pkg:/source/feedcategory.brs(38)
038: for each category in categories.kids
Backtrace:
Function get_category_names(categories As Object) As Dynamic
file/line: /tmp/plugin/EGAAAAR4ZpT6/pkg:/source/feedcategory.brs(38)
Function initcategorylist() As Void
file/line: /tmp/plugin/EGAAAAR4ZpT6/pkg:/source/Mainmenu.brs(134)
Function showhomescreen(screen As Dynamic) As Integer
file/line: /tmp/plugin/EGAAAAR4ZpT6/pkg:/source/Mainmenu.brs(39)
Function main() As Void
file/line: /tmp/plugin/EGAAAAR4ZpT6/pkg:/source/appMain.brs(20)
Local Variables:
categories &h0010 bsc:roInvalid, refcnt=1
global &h0020 rotINTERFACE:ifGlobal
m &h0010 bsc:roAssociativeArray, refcnt=3
categorynames &h0010 bsc:roArray, refcnt=1
category &h0000 <uninitialized> val:Uninitialized
BrightScript Debugger>
for each category in categories
"destruk" wrote:
"Next" is the same as "End For", so it was in the top code posting for the thread.
If categories.kids has something in it then it ought to be ok there...
"destruk" wrote:
If categories.kids has something in it then it ought to be ok there...
Local Variables:
categories &h0010 bsc:roInvalid, refcnt=1
for each category in categories.kids
for each category in categories.category