Print transform position to game screen

Hi, I can print a transform position to the console but how do I show it on the game screen.

#pragma strict

function Start () {
	
}

function Update () {
    // Get the position
    transform.position = Vector3(transform.position.x, transform.position.y, transform.position.z);

    // Print the position to the console
    print(transform.position);	
}

private Rect rec;

void STart()
{
rec = new Rect(30,30, 200,100);
}

void OnGUI()
    {
        if (Debug.isDebugBuild && showDebugConsole)
        {
            consoleRect = GUI.Window(0, consoleRect, DrawConsole, "Kerbo Application Console");

        }

    }


    void DrawConsole(int windowID)
    {

        GUI.Label(new Rect(10, 25, 200, 30), transform.position.ToString());
        GUI.DragWindow();
    }

Thanks but I seem to get a bunch of errors with this code.