FOREACH STATEMENT foreach(counter, array) statement; foreach is a systemwide macro that will efficiently step an integer counter from the last element of an array down to 0. Example: int i; object* a = sorted_users(); foreach(i, a) printf("%O\n", a[i]); The effect of this example is a list of all user objects logged in. This is a simulated LPC extension done via /include/auto.h . See also: LPC/for, efun/printf