Module:No globals/doc

From RimWorld Wiki
< Module:No globals
Revision as of 02:55, 6 July 2024 by Arcangelus (talk | contribs) (Created page with "https://www.mediawiki.org/wiki/Module:No_globals/doc This is a deprecated module, and if anyone can import the module 'strict' this should be removed. In the meantime, this wi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is the documentation page for Module:No globals

https://www.mediawiki.org/wiki/Module:No_globals/doc This is a deprecated module, and if anyone can import the module 'strict' this should be removed. In the meantime, this will allow certain templates to function.

General[edit]

This module is deprecated in most use cases, use strict library: require( "strict" )

Usage[edit]

Include this module at the top of your code. An error will be raised any time your code tries to read or write to a non-local (undeclared) variable.