minicl55

Untitled

Oct 5th, 2013
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. TextWindow.Title = "Index"
  2. TextWindow.WriteLine("What do you want the variable name to be?")
  3. varName = TextWindow.Read()
  4. TextWindow.Clear()
  5. TextWindow.WriteLine("What do you want the string to be?")
  6. string = TextWindow.Read()
  7. TextWindow.Clear()
  8. TextWindow.WriteLine("Where do you want the file to be saved to?")
  9. fileLocation = TextWindow.Read()
  10. TextWindow.Clear()
  11. TextWindow.WriteLine("How many times do you want it to be printed out?")
  12. times = TextWindow.ReadNumber()
  13. TextWindow.Clear()
  14. For i = 1 To times
  15. File.WriteLine(fileLocation, i, varName + "[" + i + "]" + " = " + string)
  16. EndFor
  17. TextWindow.WriteLine("Finished. File saved to " + fileLocation + ".")
Advertisement
Add Comment
Please, Sign In to add comment