4.4 – List vs Array Exercise 4.1: Array Variables

Slides:



Advertisements
Similar presentations
Microsoft Expression Web-Illustrated Unit J: Creating Forms.
Advertisements

VISUAL BASIC Visual Basic is derived from the Basic language (Beginner’s All-Purpose Symbolic Instruction Code) Visual Basic uses an event-driven programming.
© 2010 Delmar, Cengage Learning Chapter 9: Using ActionScript.
The Web Warrior Guide to Web Design Technologies
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
Access Tutorial 10 Automating Tasks with Macros
Chapter 9 Introduction to ActionScript 3.0. Chapter 9 Lessons 1.Understand ActionScript Work with instances of movie clip symbols 3.Use code snippets.
ACCESS CHAPTER 1. OBJECTIVES Tables Queries Forms Reports Primary and Foreign Keys Relationship.
Website Design CLA – Transportation. Defining a Site Select: Site – New - Site Click Next.
Dreamweaver – Dreamweaver Extras Web Design Section 8-4 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
© 2011 Delmar, Cengage Learning Chapter 9 Introduction to ActionScript 3.0.
Publishing a Macromedia Flash Movie – Lesson 131 Publishing a Macromedia Flash Movie Lesson 13.
Review for Mid-term! October 26, Review Homework Worksheet True or False Operators are symbols that perform specific operations in Visual Basic.
Putting Applets into Web Pages.  Two things are involved in the process of putting applets onto web pages ◦ The.class files of the applet ◦ The html.
Tutorial 11 Five windows included in the Visual Basic Startup Screen Main Form Toolbox Project Explorer (Project) Properties.
Execute Workflow. Home page To execute a workflow navigate to My Workflows Page.
WaveMaker Visual AJAX Studio 4.0 Training Basics: Building Your First Application Binding Basics.
1 Chapter 12: Form Builder Objects and Flexible Code.
Controls. Adding Controls to Form -You can pick controls from the toolbox. -To add the controls from Toolbox to the Form You have be in design view. -To.
IBC233 Lecture 2 Updated Winter 2008 Agenda Test next Week – Jan 23 ISeries Architecture CL (Control Language) Library Lists Operations Navigator.
Copyright © 2015 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 13 GUI Programming.
1 Installing Java on Your PC. Installing Java To develop Java programs on your PC: Install JDK (Java Development Kit) Add the directory where JDK was.
Double click here to add event title Double click here to add event date Double click here to add event time Double click here to add event location.
UFCFY5-30-1Multimedia Studio Scripting for Interactive Media Using Interface Fields to Receive and Display Data to the User.
JavaScript Events. Understanding Events Events add interactivity between the web page and the user Events add interactivity between the web page and the.
CS 281 – Fall 2010 Lab 4 Parametric Query and Forms in MS Access.
Chapter 11 Enhancing an Online Form and Using Macros Microsoft Word 2013.
CodePainter Revolution Trainer Course Max Vizzini Documentation.
Using a set-up file to read ASCII data into Stata
Excel Tutorial 8 Developing an Excel Application
Using the Console.
Topics Graphical User Interfaces Using the tkinter Module
Lesson 1 - Sequencing.
Access Tutorial 1 Creating a Database
An Introduction to Computers and Visual Basic
Address Book Example
How to automatise the grid production - using model builder in ArcGIS
Unit Lessons Work with actions
How to design a Windows Forms application
SECTION 3 MACROS: OVERVIEW.
An Introduction to Computers and Visual Basic
Microsoft Office Illustrated
String several geoprocessing processes
Access Lesson 1 Understanding Access Fundamentals
Sequential Input and Output using Text Files
Access Tutorial 1 Creating a Database
Social Media And Global Computing Introduction to Visual Studio
Modifying Tables and Fields
Understanding the Visual IDE
WEB PROGRAMMING JavaScript.
Integrating JavaScript and HTML
Digital Image Processing
Text / Serial / Sequential Files
Working with Symbols and Interactivity
An Introduction to Computers and Visual Basic
Additional Topics in VB.NET
These slides are for reference only. They are not "lecture notes"
Access Tutorial 1 Creating a Database
Using Script Files and Managing Data
To understand what arrays are and how to use them
Access Tutorial 1 Creating a Database
Python 10 Mr. Husch.
Just Basic Lessons Mr. Kalmes.
Text / Serial / Sequential Files
CHAPTER FOUR VARIABLES AND CONSTANTS
Sequences Example Continue the following sequences for the next two terms 1, 2, 3, 4, 5, ……… 2, 4, 6, 8, 10, ………… 1, 3, 5, 7, 9, ………….. 4, 8, 12, 16, ………….
Tutorial 12 Managing and Securing a Database
Intro to Programming (in JavaScript)
Presentation transcript:

4.4 – List vs Array Exercise 4.1: Array Variables To exemplify how you can work with array variables, we are going to create an automation that asks the user for his first and last name and age, stores the information in an array and then writes it in a .txt file. Create a new sequence. Create three string variables, strFirstName, strLastName and strAge, in which to store the information gathered from the user. Create an array of strings variable called arrStringNameAge.

4.4 – List vs Array Exercise 4.1: Array Variables Add an Input Dialog activity to the Designer panel. In the Properties panel, fill in the Label and Title fields to ask for the user’s first name. In the Result field, type the strFirstName variable. This variable stores the first name of the user. Add another Input Dialog activity under the previous one. In the Properties panel, fill in the Label and Title fields to ask for the user’s last name. In the Result field, type the strLastName variable. This variable is going to store the last name of the user. In the Properties panel, fill in the Label and Title fields to ask for the user’s age. In the Result field, type the strAge variable. This variable is going to store the age of the user.

4.4 – List vs Array Exercise 4.1: Array Variables Add an Assign activity under the last Input Dialog. In the Properties panel, in the To field, type the arrStringNameAge variable. In the Value field, type {strFirstName,strLastName,strAge}. This Assign activity enables you to store all the values from the initial string variables in the arrStringNameAge one. Add a Write Text File activity under the Assign one. In the Properties panel, in the FileName field, type the path of the file you want to write to between quotation marks, such as "%HOMEPATH%\Desktop\array_variable". In the Text field, type arrStringNameAge(0) + " " + arrStringNameAge(1) + " " +arrStringNameAge(2) + " ". Press F5. The automation is executed. Navigate to the file provided at step 17 and double-click it. A Notepad window is displayed with the information you added at step 20.