ken bohnenkamp
29th January 2003, 23:05
I am opening and then reading a flat ascii text file from a unix directory using the following code:
file.id = seq.open("/fert2/ken/seq/mntimp.txt","r")
while not seq.eof(file.id)
do the following
This works fine, but I would like to read the ascii file from either my local C: drive or a mapped network drive. I tried the code below but that doesn't work
file.id = seq.open("c:/ken/mntimp.txt","r") |open import file
Does anyone know the syntax to do what I want or is it not possible. Any help would be appreciated.
file.id = seq.open("/fert2/ken/seq/mntimp.txt","r")
while not seq.eof(file.id)
do the following
This works fine, but I would like to read the ascii file from either my local C: drive or a mapped network drive. I tried the code below but that doesn't work
file.id = seq.open("c:/ken/mntimp.txt","r") |open import file
Does anyone know the syntax to do what I want or is it not possible. Any help would be appreciated.