title: Pascal got word expected short string
body: <pre><code>program MouseInput;
  Uses WinCrt,WinMouse, Graph;
  Var
     GraphicsDriver, GraphicsMode,
     ErrCode : smallint;
     x, y: shortstring;
  
  Begin
  x:=GetMouseX;
  Y:=GetMouseY;
  
       Writeln('Initialising Graphics, please wait...');
       GraphicsDriver := Detect;
       InitGraph(GraphicsDriver, GraphicsMode,'');
       GetmouseX();
       GetmouseY();
       OuttextXY(0,0,x);
       readln();
  end.
  </code></pre>
  
  <p>It give me the error:
  23 / 20 mouse.pas
   Error: Incompatible types: got "WORD" expected "SHORTSTRING"
  But i don't know how to change it so it works becase GetmouseX needs to be Word.</p>