Microsoft WSH and VBScript Programming for the Absolute Beginner Part 13

Microsoft WSH and VBScript Programming for the Absolute Beginner by Jerry Lee Ford Part 13. If you are new to programming with Microsoft WSH and VBScript and are looking for a solid introduction, this is the book for you. Developed by computer science professors, books in the for the absolute beginner series teach the principles of programming through simple game creation. You will acquire the skills that you need for more practical WSH and VBScript programming applications and will learn how these skills can be put to use in real-world scenarios. Best of all, by the time you finish this book,. | Microsoft WSH and VBScript Programming for the Absolute Beginner Second Edition Challenges 1. Change the Math Game to use a different equation and modify the logic required to adapt the statements that work with the WordPad and Calculator applications. 2. Try using the SendKeys method to work with other Windows applications such as Notepad. 3. Spend some time reviewing VBScript built-in math functions and see if you can create a new calculator similar to the Square Root calculator. 4. Modify the VBScript template presented earlier in this chapter and adapt it to suit your personal preferences and then use it as you begin developing new VBScripts. chapter Constants Variables and Arrays This is the second of five chapters in this book that teaches the fundamentals of VBScript. One of the key concepts that you need to understand when working with VBScript or any programming language is how to store retrieve and modify data. This chapter will teach you a number of different ways to perform these tasks. By the time you have completed this chapter you will know how to write scripts that can collect and manipulate data. Specifically you will learn how to Process data passed to the script at execution time Store data that does not change Work with data that can change during script execution Process collections of related data as a unit Project Preview The Story of Captain Adventure In this chapter you will learn how to create a game that builds a comical adventure story based on user input. The game begins by collecting answers to a series of questions without telling the user how the answers will be used. After all the information that the script needs is collected the story is displayed as shown in Figures through . Microsoft WSH and VBScript Programming for the Absolute Beginner Second Edition Figure The user must specify the object that provides our hero with his superpowers. Figure The story s initial splash screen. Figure The user is the star of .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.