How to write script read file and assign it as variable?

Hi all,

I want write a csh script which must be able:
1.read a file
2.assign value in file as variable

and can i use read in csh script?
thx

i think this might be helpful for you..

http://www.unix.com/unix-advanced-expert-users/16769-tcsh-read-command.html

hi dazdseg,
I still not get what u mean.
Actually i got write in ksh script:
while read file
do

set $(echo ${file})

done <config.txt

and know i need interpret it in Csh script.Can u help me?