Does anyone know if its possible to store an array into a text file.
Basically the array contains a count of # times script has been visited, name of user, major, age.
So far I got a good idea how to create the array, but I'm not sure if I can store it into a file, or if it's possible.
ex. of what file text file should have:
1, john doe, psychology, 41
2, bob catz, accounting, 23
Code:
' Save file as script.vbs
' Define array store count, name, major, age
Dim array[3]
'array(0) count goes here
array(1) = InputBox("Enter your name:") 'Get the users name
array(2) = InputBox("Enter your major:") 'Get the users major
array(3) = InputBox("Enter your age:") 'Get the users age