This example is confusing. It is hard to follow and does not sufficiently explain its operation. Please help by simplifying the code, improving its formatting, and/or adding meaningful comments.

Insert this message above a programming example using the text {{confusing|lang}}, where lang is the programming language used. This will put the page in Category:Examples needing attention and Category:Lang examples needing attention.

This is a template. There are many others. See Category:RCTemplates for a complete list of templates.