Simple VisualBasic script
Tuesday, July 17th, 2007This is a simple demonstration of input, output and a small calculation done in VisualBasic.
The script asks the user to input a number of days, and the script
outputs how many seconds those days are.
The code is simple, open up notepad, or your text editor, and enter this:
-
Dim Input
-
Input = InputBox("Enter a number of days")
-
sek = (input * 84600)
-
msgbox (input & " days, are " & sek & " seconds")
