Thanks.
I guess that means that dx lenses can't be used with fx sensors or film cameras?
It seems more useful to buy non-dx lenses so that they are useful if you upgrade to a full frame sensor camera.
For Nikon, you can use DX lenses on FX bodies, there is a "crop mode" that will reduce the captured area of the sensor to compensate. So for example the 12MP D3/700 would take a 5MP DX image I think. Obviously it's not ideal but it is a workaround while you transition glass.
Some DX lenses actually do produce an image large enough to fill the full frame- for example the 12-24 f/4 will do it above 18mm and I believe the 10-24 will do it above 15 or 16mm as well. If you keep the aperture open and limit your focus distances, the 35mm f1.8 DX also covers FX pretty good, etc. You can use these lenses in "unsupported mode" and get full coverage although I hear the corners are not as good as a real FX lens because they were not designed to be used like that.
For Canon I believe that it is not possible to use EF-S lenses on the FF bodies.
It is worthwhile to consider the DX vs. FX issue when planning gear purchases, but to only buy FX gear "just in case you might upgrade to FX several years down the road" is not always the best mode. Quality lenses hold their value very well, so if you purchased good DX lenses now, you could make back a large portion of that money later on if you sold them when upgrading to FX gear. Also due to the image circle size issue, FX lenses are going to be larger and heavier than the DX versions- if you are going lightweight with DX gear then only buying FX lenses would work against you.
An example would be the 17-55 (DX) vs the 24-70. Not only is the 24-70 larger, heavier, and more expensive, it has a less useful focal range on DX compared to the 17-55. Used prices on the 17-55 have been pretty steady for the last couple of years (as long as I have been tracking)- meaning if you bought a used 17-55 a couple of years ago and just now upgraded to FX, you could have basically sold the lens for what you paid.