Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TextWindow.Title = "Index"
- TextWindow.WriteLine("What do you want the variable name to be?")
- varName = TextWindow.Read()
- TextWindow.Clear()
- TextWindow.WriteLine("What do you want the string to be?")
- string = TextWindow.Read()
- TextWindow.Clear()
- TextWindow.WriteLine("Where do you want the file to be saved to?")
- fileLocation = TextWindow.Read()
- TextWindow.Clear()
- TextWindow.WriteLine("How many times do you want it to be printed out?")
- times = TextWindow.ReadNumber()
- TextWindow.Clear()
- For i = 1 To times
- File.WriteLine(fileLocation, i, varName + "[" + i + "]" + " = " + string)
- EndFor
- TextWindow.WriteLine("Finished. File saved to " + fileLocation + ".")
Advertisement
Add Comment
Please, Sign In to add comment