beer gut wrote:Then i was told that all malts produce fermentable sugars in the mash.I know crystal malt produces fermentable sugars in the mash but black malt does not that's why you can add black malt to the boil when brewing extract brewing.

Black malt does, as does brown, but not as much as crystal - it's just rare that anyone uses enough to make any difference - even 100g of black in a mash probably doesn't contribute a point of gravity in 5 gallons. Crystal malt already has fermentable sugars in the grain - and thus doesn't need mashing and can be steeped (eg in extract brewing); but of course with all grain, it's just as easy to whack it in the mash.
Take this recipe for a 12:7:1 porter (historic). This assumes modern day brown in the calculations, points listed after each for about 21-22litres in the fermenter (24l in the copper):
Pale: 4.5kg; 44.6 points
Brown: 2.6kg; 21.7 points
Black: 375g; 2.7 points
(Quick calculation from Beer Recipator)
So the majority of the points comes from the base malt - which was exactly the reason they started using pale malt in porters - it required less malt than using 100% traditionally made brown (blown) malt. Then a not insignificant 20-odd points from the brown, and a tiny contribution from the black (but a big flavour contribution).
In a standard recipe with a little black, choc, etc, then you can probably ignore the contributions - but if you use software to do it for you (like Beer Engine), it should work it all out on your behalf.