Variables and scope

Before discussing variables, let us take a look at Memory and its structure:

Memory consists of millions of memory Cells and each memory cell stores data in the form of 0s and 1s (binary digits). Each cell has a unique address, and by using this address, the cell can be accessed:

When data is stored in memory, its content gets split into further smaller forms (binary digits). As shown in the preceding diagram, 2 bytes of data consists of several memory cells.

A variable is the name that is given to a particular chunk of ...

Get Learning Robotic Process Automation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.