private void saveInfo(String name)
	{
		FileWriter baseSave = null;
		String eol = System.getProperty("line.separator");
		try
		{
			baseSave = new FileWriter(name+".rcf");

			//Build the file header
			baseSave.write("Base Controller Info;" + eol);

			//The Base Controller Name
			baseSave.write(">name:"+strName+";"+eol);

			//Saves the screen type integer
			baseSave.write(">typ:");
			if(dicernType == 1)
				baseSave.write("p;");
			else if(dicernType == 2)
				baseSave.write("l;");
			else if(dicernType == 3)
				baseSave.write("b;");
			else if(dicernType == 4)
				baseSave.write("o;");
			else
				baseSave.write("a;");
			baseSave.write(eol);

			//Add device name
			nameList str = head;
			while(str != null)
			{
				if(selected == str)
					baseSave.write(">prior:");
				else if(str.getApproved())
					baseSave.write(">approv:");
				else
					baseSave.write(">connect:");
					
				baseSave.write(str.getName()+";"+eol);
				str = str.getNext();
			}

			//End device list marker
			baseSave.write(">dev:;"+eol);

			//Write the IP address
			String h = getServerAddress();
			if(!h.equals("No address"))
				baseSave.write(">IPAd:"+h+":"+getPort()+";"+eol);

			//End file marker
			baseSave.write(">end:;");

			//Close the file
			baseSave.close();
		}
		catch(IOException e)
		{
			System.err.println("Fatal saving error is BaseInfo.rcf");
		}
	}