Inputfile for shell-script

I want to use an inputfile for a shell-script

Inputfile consists 10 lines
In the script variables have to be filled with these lines
$1 must be line 1
$2 must be line 2
and so on

How do I get this done ??? :confused: :confused:

If the parameters on each line have no embedded spaces, your script can do:
set `cat myparms.txt`

Thanx

Works perfect