{"id":"word--at","name":"at","owner":"yeho","package":"language","kind":"keyword","signature":"at","description":"Bind an iteration index","context":"Use collection iteration when you care about elements rather than storage positions.","parameters":[],"returns":"","members":[],"tags":["keyword","language","loops","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"parser_loops.cpp; language-core.md §8.3"},"status":"stable","notes":["reverse appears after in and before the collection expression.","Map loops can bind key to value."],"examples":[{"id":"usage","title":"Values and indexes","description":"Use collection iteration when you care about elements rather than storage positions.","code":"list of int scores = [10, 20, 30]\nfor score at index in scores where score >= 20\n{\n    Console.Log(Text.Format(\"{0}: {1}\", index, score))\n}","manifest":"manifestVersion = \"2\"\npackage = \"api.example.word_at\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n","tags":["language"],"verification":"type checked","run":"cpu-oracle","sha256":"1fe6220938fa7a1c8e69b353a5e6e5734f2800ded7ed4ee0c41aeb938014056b","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=word--at","json":"https://demonhunterlabs.com/reference/items/word--at.json","markdown":"https://demonhunterlabs.com/reference/text/word--at.md"}
