Microsoft WSH and VBScript Programming for the Absolute Beginner Part 43

Microsoft WSH and VBScript Programming for the Absolute Beginner by Jerry Lee Ford Part 43. 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,. | 400 Microsoft WSH and VBScript Programming for the Absolute Beginner Second Edition The WSH currently supports XML version . Version supports both uppercase and lowercase spelling of tag elements. However lowercase spelling is preferred and I recommend that you do use only lowercase spelling. This way if lowercase spelling becomes a requirement in a future version of XML you will not have to retrofit your Windows Scripts Files for them to continue to run. Examining WSH Supported XML Tags XML represents an extensive and powerful multipurpose markup language. XML is therefore often used in many environments including the WSH. In this chapter I ll introduce you to a number of commonly used XML tags and I ll provide examples of how they re used to build Windows Script Files. To begin take a look at Table which shows the XML tags that you ll see demonstrated in this chapter s examples. Table XML Tags Commonly Used in Windows Script Files Tag job . Description Enables or disabled error handling and debugging for a specified job. XML . Specifies the Windows Script File s XML level. comment comment . Embeds comments within Windows Script Files. script script . Identifies the beginning and ending of a script within a Windows Script File. job job . Identifies the beginning and ending of a job inside a Windows Script File. package package . Enables multiple jobs to be defined within a single Windows Script File. resource resource . Defines static data constants that can be referenced by script within a Windows Script File. Using the job Tag The job tag allows you to enable or disable error reporting and debugging within your Windows Script Files. The use of this tag is optional. Unlike most tags the job tag does not have a closing tag. The syntax for this tag is as follows job error flag debug flag Chapter 12 Combining Different Scripting Languages Both error and debug are Boolean values. By default both are set equal to false. Setting error true turns on .

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.