NextRepeat

Typecontrol structure
DictionaryLCB
LibraryLiveCode Builder
Syntax
next repeat
Associationscom.livecode.language
Summary

Begin the next iteration of a repeat loop.

Example
	variable tList as list
	variable tElement
	put [1, 2, 3, "a", 4, "b", 5] into tList

	variable tSum as number
	put 0 into tSum
	repeat for each element tElement in tList
		if tElement is not a number then
			next repeat
		end if

		add tElement to tSum
	end repeat
Description

Use next repeat to skip to the next iteration of a repeat loop. This is particularly useful when operations are only to be performed on iterands which satisfy certain criteria.