-
hey everyone,
im creating a program that reads in a name and number from a text box and then writes them to a file. my problem is that the number gets written to the file with " " around it and when i call it to use as numeric input it recieves the default value of 0. i declared the variable as single , so im stumped. anyways if someone can help it would be really appreciated.
thanks, meth
-
What are you using for File IO?
Random File Access will work the best for this, create a User type and PUT it to the file. the user type for the number can be long or integer (or byte) and it will write it in binary.
remember to convert the text info to numeric first (with Val(), Clng() or whatever)
Paul
-
hey paul,
Val function....i can't believe i missed that. thanks for responding.
meth