Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Robotic Process Automation

You're reading from   Learning Robotic Process Automation Create Software robots and automate business processes with the leading RPA tool – UiPath

Arrow left icon
Product type Paperback
Published in Mar 2018
Publisher Packt
ISBN-13 9781788470940
Length 360 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Alok Mani Tripathi Alok Mani Tripathi
Author Profile Icon Alok Mani Tripathi
Alok Mani Tripathi
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. What is Robotic Process Automation? FREE CHAPTER 2. Record and Play 3. Sequence, Flowchart, and Control Flow 4. Data Manipulation 5. Taking Control of the Controls 6. Tame that Application with Plugins and Extensions 7. Handling User Events and Assistant Bots 8. Exception Handling, Debugging, and Logging 9. Managing and Maintaining the Code 10. Deploying and Maintaining the Bot 11. Other Books You May Enjoy

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 memory cells or simply a block of memory and is used to hold data.

You can declare any desired name and create a variable to store the data.

It is recommended, however, that we use meaningful variable names. For example, if we wish to create a variable to store the name of a person, then we should declare

Name: Andy

It is a good practice...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime