Index Loop<cfloop index = "parameter_name" from = "beginning_value" to = "ending_value" step = "increment"> ... HTML or CFML code to execute ... Conditional Loop<cfloop condition = "expression"> Query Loop<cfloop query = "query_name" startRow = "row_num" endRow = "row_num"> List/File Loop<cfloop index = "index_name" list = "list_items" delimiterS = "item_delimiter"> COM Collection/Structure Loop<cfloop collection = #variable# item = "item"> DescriptionLooping is a programming technique that repeats a set of instructions or displays output repeatedly until one or more conditions are met. An Index loop repeats for a number of times that is determined by a numeric value. An Index loop is also known as a For loop. Attributes
|