Mix sugar, flour and cocoa.,Stir in milk.,Cook, stirring often, until thickened.,______,Beat yolks.,Temper eggs with small amount of hot mixture before adding to the entire hot mixture.,Cook a few more minutes; remove from heat.,Add margarine and vanilla.,Stir.,Pour in baked pie shell.,Top with meringue.