Jump to a block according to the value of a variable