#How to write computer code repeating windows#
This command opens a Windows error dialog box with your specified message in the body of the dialog and your specified title as the dialogue's header. Type this command (including the parentheses and quotation marks), adding an appropriate error message and error title. Type "x=msgbox("Error message here", 5+16, "Error title here"). This will cause the computer to open a window of Internet Explorer (or whatever program you specified) and then immediately return to the point in the instructions before it opened the program, effectively causing it to open new windows until the command prompt is closed or the computer crashes. Finally, in the line under that, type goto A. Then, in the line under that, type start iexplore.exe (or use some other program). To open an infinite number of windows, first start a new line and type :A, including the colon.winword.exe - Microsoft Word (tested with version 2013, may work with other versions).Here are just a few ideas for programs you may want to enter after "start": Repeat this "start" command as many times as you'd like - your "virus" will open a window for every time you repeat this command.
![how to write computer code repeating how to write computer code repeating](https://drek4537l1klr.cloudfront.net/bell/Figures/144fig01.jpg)
For example, start iexplore.exe will open a window of Internet Explorer. This command causes the computer to open a window of the program you specify. In place of the phrase of parentheses, put the name of a program on your computer or its precise file location.
![how to write computer code repeating how to write computer code repeating](http://cssimplified.com/wp-content/uploads/2013/09/C_program_Compound_Interest.jpg)
![how to write computer code repeating how to write computer code repeating](https://i.ytimg.com/vi/i9zjWSRkqP8/maxresdefault.jpg)
#How to write computer code repeating series#
Now, it's time to write a series of commands that will cause your fake virus to open either lots of program windows or an infinite amount of program windows. Be careful Blogging Brexit Business Celebration Computers Copy-typing Copyediting Ebooks Errors Ethics Excel Facebook Guest posts Iris Murdoch Jobs Language use Localisation Marketing New skills Newsletters Organisation PowerPoint proofreading Prosopagnosia Punctuation Reading Reference materials Reviews SEO Short cuts Skillset Small Business Chat Social media Students Trados Transcription Troublesome pairs Twitter Uncategorized Volunteering What Do I Do? Why bother Windows Word WordPress Writingīook review - Daphne du Maurier - "The Scapegoat" #DDMReadingWeek ViragoBooks /0/boo… - 1 day agoīook review - Sara Cox - "Thrown" /8/boo… - 3 days agoīook review - Sara Novic - "True Biz" NovicSara LittleBrownUK /6/boo… - 5 days agoīook review - Candice Carty-Williams - "People Person" orionbooks #NetGalley #PeoplePerson /4/boo… - 1 week agoīook review - Bonnie Garmus - "Lessons in Chemistry" PenguinRandom #NetGalley #Lessonsinchemistry a command to open multiple (or infinite) windows.