Practical 1
Practical 1
Task 1.1: Download the script Sample1.vbs. Change Jamie to your name and run it.
Task 1.2: Download the script Sample2.vbs. Modify the dialog context (talk about other topics, e.g "I'm in Parramatta", "Where are you?", ...).
Task 1.3: Download the script Listing_2_2.vbs.
A)Tell me what it is doing.
B) Run Listing_2_2.vbs in commend line. (You can write a .bat file to run this script in command-line style if you wish).
Task 1.4: Download the script Listing_2_3.vbs.
A) Use Index of the textbook or search over the Internet to find out the meaning of the following keywords: Dim, Array, Redim, Preserve. B) Add your comments to each line of the program to help other readers to understand the code. Task 1.5 (Optional): Following the way of the script Listing_2_3.vbs, store the name of each day of the week in an array and print them in a messagebox.