Global-only and Global-by-default
A number of non-structured languages, such as (early versions of) BASIC, COBOL and Fortran I only provide global variables. Fortran II introduced subroutines with local variables and COMMON for global variables. Named COMMON groups globals somewhat like namespaces. Variables are global by default in FORTH, Lua and most command shells.
Read more about this topic: Global Variable
Related Phrases
Related Words