TAILIEUCHUNG - Microsoft WSH and VBScript Programming for the Absolute Beginner Part 31

Microsoft WSH and VBScript Programming for the Absolute Beginner by Jerry Lee Ford Part 31. 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 With proper testing of all the components of a script most run-time errors can be discovered and fixed during script development. I say most because not all run-time errors can be caught those caused by unforeseen circumstances may be impossible to detect during script development. Perhaps the person running the script incorrectly supplied input in a manner that you could not have anticipated or perhaps something is wrong with the environment in which the script is being executed. Or maybe the hard disk has become full preventing your VBScript from writing to a file or the network goes down as your script is executing a file copy or move operation. In cases such as these often the best you can do is to end the script gracefully without confusing the user or making the situation worse. Another category of error to which scripts are susceptible is logical errors. Logical errors are mistakes made by the script developer. For example instead of looping 10 times you might accidentally set up an endless loop. Another example of a logical error is a situation in which a script adds two numbers that should have been multiplied. Definition A logical error is an error produced as a result of a programming mistake on the part of the script developer. Understanding Error Messages VBScript error messages are generated for both syntax and run-time errors. These errors are displayed in the form of pop-up dialogs as demonstrated in Figure . Each error message displays information about the error including a brief description of the error an error number and the source of the error. Figure A typical VBScript error message. Error Description Error Number Error Source tricI Each VBScript syntax and run-time error is assigned an error number. Depending on the execution host this number may be displayed either as a decimal number J or a hexadecimal number. Error messages produced by VBScripts are .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.