Global Variable - Other Languages

Other Languages

  • In Python and MATLAB a global variable can be declared anywhere with the global keyword.
  • Ruby's global variables are distinguished by a '$' sigil. A number of predefined globals exist, for instance $$ is the current process ID.

Read more about this topic:  Global Variable

Famous quotes containing the word languages:

    Science and technology multiply around us. To an increasing extent they dictate the languages in which we speak and think. Either we use those languages, or we remain mute.
    —J.G. (James Graham)

    The trouble with foreign languages is, you have to think before your speak.
    Swedish proverb, trans. by Verne Moberg.