Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Level 7

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
Highlighted
Level 9

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