passing argument from Cshelll to awk command

Hi all
I have got a file digits.data containing the following data
1 3 4
2 4 9
7 3 1
7 3 10

I am writing a script that will pass an argument from C-shell to nawk command. But it seems the values in the nawk comman does not get set. the program does not print no values out. Here is the script run_odd

#!/bin/csh
set var1 = 0
set var2 = 5
nawk '{rl[1]=R1;rl[2]=R2; rr=2-($2%2); if($1>=rl[rr]){print rl[rr]}}' R1=$var1 R2=$var2

I use the following command to execute it
cat digits.data | run_odd

The script is suppose to print out the value of rl[rr] if the first field of digits.data file is >0 and the second filed is an odd number OR if the first field $1>5 and the second field is an even number.

Why does the variables in the nawk not get set?
Thank you.

for awk you have to provide a file name at the end..
or else include your code in BEGIN segment