• Help Home
  • English (US)
    1. English (US)
    2. 日本語
3ds Max 2025 Developer
    • 3ds Max Developer Overview
    • 3ds Max Developer Help
    • MAXScript Help
      • MAXScript Introduction
      • Script Examples In This Help
      • What is New in MAXScript
      • Learning MAXScript
      • Frequently Asked Questions
      • How To - Practical Examples
      • MAXScript Language Reference
        • MAXScript Grammar
        • Reserved Keywords, Symbols, Punctuation and Variables
        • Variables - Assignment and Scope
          • Variable Assignment
          • Scope of Variables
          • Specifying Global Variables As Global Using ::
          • Persistent Global Variables
          • Type-Free Variables
          • Reference Assignment
          • Global and Persistent Global Variable Methods
            • globalVars Structure
            • Persistents Structure
          • Memory Allocation and Garbage Collection
          • Definition Constructs Can Include Global Variable Declarations At Top Level
          • Changes to Undeclared Implicit Global Variables
        • Names, Literal Constants, and Expressions
        • Controlling Program Flow
        • Creating Functions
        • Const and MAXScript Functions
        • Structure Definition
        • Values
        • Collections
      • 3ds Max Objects and Interfaces
      • MAXScript Tools and Interaction with 3ds Max
      • Interaction with Other Programming Languages and Environments
      • Interaction With The Operating System
      • 3ds Max USD Scripting Guide
      • MAXScript Retopology
    • 3ds Max Python API Help
    • 3ds Max MCG Help
    Share
    • Email
    • Facebook
    • Twitter
    • LinkedIn

    Global and Persistent Global Variable Methods

    Pages in this section
    • globalVars Structure
    • Persistents Structure
    Parent page: Variables - Assignment and Scope

    Was this information helpful?

    Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Please see the Autodesk Creative Commons FAQ for more information.

    • Privacy Statement
    • Legal Notices & Trademarks
    • Report Noncompliance
    • © 2025 Autodesk Inc. All rights reserved