I think the correct way is camera.tilt = clamp(camera.tilt,90,-90);

At least its this way described in the manual.