Task

Explain or demonstrate the levels of visibility of function names and labels within the language.



See also

 Variables for levels of scope relating to visibility of program variables
 Scope modifiers for general scope modification facilities


# Nested functions
func outer {
    func inner {};   # not visible outside
}
 
# Nested classes
class Outer {
    class Inner {};  # not visisble outside
}