get_xpos
Returns the current x-position of the cursor (in the variable `result').
Example: get_xpos