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

Microsoft WSH and VBScript Programming for the Absolute Beginner by Jerry Lee Ford Part 20. 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 space 46 vbCrLf _ space 20 vbCrLf space 31 _ Space 26 vbCrLf _ space 34 space 22 vbCrLf _ space 37 space 17 vbCrLf _ space 26 vbCrLf _ space 26 vbCrLf _ space 26 vbCrLf _ space 26 vbCrLf vbCrLf vbCrLf . space 10 Would you like to boldly go where no one has gone before intPlayGame MsgBox strSplashImage 36 cTitlebarMsg If intPlayGame 6 Then User elected to play the game strAnswerOne InputBox What was the Science Officer s name in the _ original Star Trek series cTitlebarMsg If LCase strAnswerOne spock Then intNumberCorrect intNumberCorrect 1 End If Else User doesn t want to play MsgBox Thank you for taking the Star Trek Quiz Jerry Ford 2002. _ vbCrLf vbCrLf Live long and prosper cTitlebarMsg End If strAnswerTwo InputBox What Star Trek villain appeared in both the _ original series and a Star Trek movie cTitlebarMsg If LCase strAnswerTwo khan Then intNumberCorrect intNumberCorrect 1 End If Chapter 5 Conditional Logic strAnswerThree InputBoxCWhat was the numeric designation of _ Voyager s on-board Borg cTitlebarMsg If CStr strAnswerThree 7 Then intNumberCorrect intNumberCorrect 1 Elself CStr strAnswerThree 7 of 9 Then intNumberCorrect intNumberCorrect 1 End If strAnswerFour InputBox Name the only Star Trek character to _ regularly appear on two series and at least two Star Trek _ movies cTitlebarMsg If LCase strAnswerFour worf Then intNumberCorrect intNumberCorrect 1 End If strAnswerFive InputBoxCWhat is the last name of your favorite Captain cTitlebarMsg If Len strAnswerFive 3 Then If Instr 1 kirkpicardsiscojanewayarcher LCase strAnswerFive 1 0 Then intNumberCorrect intNumberCorrect 1 End If End If Select Case intNumberCorrect Case 5 User got all five answers right strFederationRank Admiral Case 4 User got 4 of 5 answers right strFederationRank Captain Case 3 User got 3 of 5 answers right strFederationRank Commander Case 2 User got 2 of 5 answers right strFederationRank .

Đã 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.