O'Reilly logo

Mastering Adobe Captivate 6 by Damien Bruyndonckx

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Variables

Every single programming language in the world makes use of variables to store and retrieve data to and from the memory of the computer. ActionScript and JavaScript are no exception! In Captivate, it is enough to know that a variable is a named space in the memory of the computer in which data can be read or written.

To make it short, a variable is made of two things:

  • A name: This name must comply with strict naming rules and conventions. In ActionScript for instance, the name of a variable cannot contain any spaces or special characters (such as @ é, è, ç, à, #, ?, /, and so on). When writing a script, the programmer uses the name of the variable to access the data it holds.
  • A value: The value is the piece of data that the variable contains. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required