Mix sugar, cocoa, milk, margarine and corn syrup. Slowly bring to a full boil. Let boil for 1 minute. Add vanilla extract. Cool and beat with mixer until mixture is of spreading consistency. Spread quickly. Sufficient to ice a 2-layer (9-inch) cake or 1 (13 x 9-inch) sheet cake.