• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. The Elements of Scripting > Variables: The data depositories

Variables: The data depositories

I've saved one of the most powerful programming concepts for last: the variable. A variable is an item that exists not in the Cast, the Score, or any other window, but in Director's equivalent of virtual reality: RAM itself. Unlike a property, which is data that reflects something else, a variable is a quantification that has its own independent existence. The data a variable contains is known as its value, and that value can change throughout the running of the movie. In a sense, variables are locations that have no location, data storehouses that exist only in Lingospace—and even then they exist only when the movie is running. The values disappear whenever they're no longer needed.

Variable:

A container for data generated by Lingo, existing within the context of the runtime of the Director movie.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint