Thanks Matt! To build the internal network, I use an "add scalar" with input2 connected to the internal network.
Inorder to compensate the typecast length. I import the getposition via a dumme vector "colour to vector", the length of which is subtracted in tha last node.
Ofcourse I also use the "Colour to vector" for the actual calculations.
There is a reason for doing it this way.
1) to minimize the number of visible nodes (two) in the clipfile.
2) To enable the user to change the "Get position in texture" to another (e.g with an offset) by connecting the the new "pos.." to the input of the old,
and then deleting the old. It works like a dream.
By the way it would be possible network of this kind to "one liners" if you would allow internal access to the the nodes, not used as "final input" nodes.
You could make a line "assigned inputs" as accesible output nodes, of course before type casting.
"CTRL G" and the selecting of nodes works like a dream