Verse Library verse

09 Function Local Qualifiers

Shows how to declare a module and access variables using explicit scope qualifiers.

extracted-snippets/documentation/en-us/uefn/verse-language-version-updates-and-deprecations-in-verse/09-function-local-qualifiers.verse

# Source URL: https://dev.epicgames.com/documentation/en-us/uefn/verse-language-version-updates-and-deprecations-in-verse
# Local doc:  epic-docs/documentation/en-us/uefn/verse-language-version-updates-and-deprecations-in-verse.md
# Section:    Function-Local Qualifiers
MyModule := module:
X:int = 1
Foo((local:)X:int):int = (MyModule:)X + (local:)X

Comments

    Sign in to vote, comment, or suggest an edit. Sign in