Creates a local variable for an expression and initializes it with the expression.