private static String SpacesString(int n){
  int i=0;
  String result="";
  if (i < 0) {
    PcalDebug.ReportBug("SpacesString called with negative argument");
  }
  while (i < n) {
    result=result + " ";
    i=i + 1;
  }
  return result;
}

private static String SpacesString ( int n ) { int i = 0 ; String result = "" ; if ( i < 0 ) { PcalDebug . ReportBug ( "SpacesString called with negative argument" ) ; } while ( i < n ) { result = result + " " ; i = i + 1 ; } return result ; }
private and debugging methods
