Place the sugar and water into a saucepan.

Stir over a low heat until the sugar has dissolved.

Add the butter and syrup and stir until the butter has melted.

Add the condensed milk and stir until it comes to the boil.

Boil very slowly, stirring all the time, until soft ball stage.

Remove from the stove, add the vanilla and beat until it thickens.

Pour into a greased pan and leave to cool.

Cut into squares once cold.