Preheat the oven to 180C/350F/gas mark 4
Use a 23cm/9 inch round cake tin.
Grease and line the cake tin. Mix the syrup and molasses. Fold in the apples and cook on a low flame until they are tender. Allow to cool. Melt the margarine in the hot water and mix the liquid gradually into the flour. Add all the other dry ingredients, little by little, constantly stirring to keep smooth. Finally stir in the syrup-apple-molasses mixture. Pour into the tin and bake 45-60 minutes. Test with a warm knife. Allow to cool in the tin before turning out.