Rectangle Textures and FragmentPrograms

Is it possible to invoke fragment program on
GL_TEXTURE_RECTANGLE_ARB texture ?
i tryed
running
!!ARBfp1.0
TEX result.color, fragment.texcoord[0], texture[0], rectangle; #tryed 2D aswell
END

but im getting invalid operand error :frowning:

is it possible to use those two together ? if so how ? (simple replace of one color example would be very nice)

Read the specs?
http://oss.sgi.com/projects/ogl-sample/registry/ARB/fragment_program.txt

   <texTarget> ::= "1D"
                 | "2D"
                 | "3D"
                 | "CUBE"
                 | "RECT"

Remember that texture coordinates on texture rectangles need to be unnormalized (width * height).