Scripts can create new variables of three types:

  • Global Variables - these are global in scope.
  • Local Variables - these are local to the script they were created in.
  • Arrays - arrays are just global variables treated in a special way.