How can I attach a GUI.Button to a variable?

How would I do the equivalent of:

public var myVar: GUI.Button;

in Javascript? I need to make some GUI button elements editable in the Inspector.

If u want to change its style then use this:

//edit it in your inspector
var myStyle: GUIStyle;

function OnGUI()
{
     GUI.Button(Rect(0,0,25,25),"MyButton",myStyle);
}

It should work!
Cheers!

Actually I needed to make an array of buttons that were editable and easy to reference.
I ended up doing this:

public var myButtons: myGUI[];

private class myGUI {
  public var Label: String;
  public var position: Rect;
  public var content : GUIContent;
  public var style : GUIStyle;

  public function Button () {
    if( GUI.Button(position,content,style)) return true;
    else return false;
  }
}