This document provides documentation on control structures and functions in Ring programming language. It covers the following topics:
1. Branching structures like if/else statements and switch statements. Looping structures like while, for, and for-in loops. Exceptions handling using try/catch.
2. Defining and calling functions. Declaring function parameters. Sending parameters to functions. Main function and variable scope. Returning values from functions. Recursive functions.
3. Getting input using the Give command, GetChar() function, and Input() function.