There was an error while loading. Please reload this page.
The function scope is a scope that exists for the duration of a function call
A common example of a function scope having an impact on the program, is in the destruction of values that have a __defer__ method, such as String.
__defer__
String
import basics func main { name String = "Isaac Shelton".clone() // 'name' is implicitly destroyed at the end of the scope }
Table of Contents