private void writeNumber( int db, int ln, long numb )
	{
		long r = numb;
		RandomAccessFile f = ( db==0 ? fdbf : db==1 ? ffpt : fcdx );
		byte[] g = new byte[ln];
		for(int i=0, l=ln;l>0;l--)
			{
			if(db>0) r=(l==1? numb : numb>>((l-1)<<3) );
			int b = (int)(r & 0xff);
			g[i++]=(byte)b;
			if(db==0) r>>=8;
			}
		try { f.write(g); }
		catch (IOException e) { e.printStackTrace(); }
		
	}