set variable with square brackets in c shell!

Hi Guys,
I want to set a variable which happend to have square brackets in them. I tried multiple ways that is by escaping it with quotes (both single and double ) but it didn't help.
All I want is:

set x = slicearray.slice\[0\].post

My failed attempts were:

set x = "slicearray.slice\[0\].post"
set x = slicearray.slice\'['0\']'.post
set x = slicearray.slice\"["0\"]".po

Thanks in advance!

Hi.

Did you try:

set x = 'slicearray.slice\[0\].post'

cheers, drl

Yes but it didn't work.
when I try single quotes and do echo $x it says:
echo : No match.
The problem is the square brackets because when I remove the square brackets it works just fine.

Hi.

This is my result:

% set x = 'slicearray.slice\[0\].post'
% echo "x = $x"
x = slicearray.slice\[0\].post

If you need to do something without the double quotes:

% set nonomatch
% echo $x
slicearray.slice\[0\].post

cheers, drl