Working with 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. JavaScript and ActionScript 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 cut a long story 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 contains.
  • A value: The value is the ...

Get Mastering Adobe Captivate 2017 - Fourth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.