これは、お気に入りのチャンネルのリストを保存する機能です。しかし、入力として文字列しか持てないため、配列をレジストリに保存することはできません
Function addToFavorites(channeljson as object)as boolean
print "started"
sec = CreateObject("roRegistrySection", "FuturV1")
poster = CreateObject("roAssociativeArray")
'if not sec.Exists("FavoriteChannels")
contentList = CreateObject("roArray", 100, true)
'else
'end if
poster.ShortDescriptionLine1 = channeljson.name
poster.SDPosterURL = channeljson.logo
poster.HDPosterURL = ch`enter code here`anneljson.logo
poster.url= channeljson.ch
contentList.push( poster ) `enter code here`
'sec.Write("FavoriteChannels", ba.ToAsciiString())
print "again"
print contentList.GetEntry(0)
end function