Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
paul_p
Visitor

Difference between end for and next

I saw for statements like this:

for each vid in videos
titles.Push(vid.Title)
next


and also

for each vid in videos
titles.Push(vid.Title)
end for


Which is the difference between them?

Thank you.
0 Kudos
1 REPLY 1
TheEndless
Channel Surfer

Re: Difference between end for and next

They are identical. BrightScript allows for either one.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos