<commit_before># For Loops in CFML / CFScript

There are several different types of for loops. For more info please see the docs for cfloop.

### Basic for loop

The following for loop has been supported since the initial version of cfscript.

	array = [3,2,1];

	for (i=1; i LTE ArrayLen(array);i=i+1) {
		WriteOutput(array[i]);
	}

The above would output `321`

### For In Loop (over a structure)<commit_msg>Use less than or equal sign instead of LTE<commit_after># For Loops in CFML / CFScript

There are several different types of for loops. For more info please see the docs for cfloop.

### Basic for loop

The following for loop has been supported since the initial version of cfscript.

	array = [3,2,1];

	for (i=1; i <= ArrayLen(array);i=i+1) {
		WriteOutput(array[i]);
	}

The above would output `321`

### For In Loop (over a structure)
{'fraction_non_alphanumeric': 0.09669811320754718, 'fraction_numerical': 0.018867924528301886, 'mean_word_length': 4.083832335329341, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2591474', 'n_tokens_mistral': 281, 'n_tokens_neox': 267, 'n_words': 122}