不你
So that basically means while the word you’re at is not one of your keywords?
yeah, i was too lazy to search up another method so i just went with what i knew
really ugly since it’s on one line but w/e
////////////////
// start //
// filereader //
// stuff //
////////////////
BufferedReader br = null;
FileReader fr = null;
try {
br = new BufferedReader(new FileReader(FILE));
fr = new FileReader(FILE);
br = new BufferedReader(fr);
String sCurrentLine;
while ((sCurrentLine = br.readLine()) != null) {
lineNumber++;
// System.out.println(sCurrentLine); for testing filereader
} // - while ((sCurrentLine = br.readLine()) != null) {
} // - try {}
catch (IOException e) {
e.printStackTrace();
} // - catch
finally {
try {
if (br != null)
br.close();
if (fr != null)
fr.close();
} // - try
catch (IOException ex) {
ex.printStackTrace();
} // - catch
} // - finally
String binList[] = new String[lineNumber]; // initialize array for data to be stored
br = null;
fr = null;
String randArray[] = new String[lineNumber];
try {
br = new BufferedReader(new FileReader(FILE));
fr = new FileReader(FILE);
br = new BufferedReader(fr);
String sCurrentLine;
int currentLine = 0;
while ((sCurrentLine = br.readLine()) != null) {
// System.out.println(sCurrentLine); for testing filereader
randArray[currentLine] = sCurrentLine;
currentLine++;
} // - while ((sCurrentLine = br.readLine()) != null) {
} // - try {}
catch (IOException e) {
e.printStackTrace();
} // - catch
finally {
try {
if (br != null)
br.close();
if (fr != null)
fr.close();
} // - try
catch (IOException ex) {
ex.printStackTrace();
} // - catch
} // - finally
////////////////
// end //
// filereader //
// stuff //
////////////////
if(r <= 500 && r > 200) {
speed = 15;
if(returnAngle()<15 || returnAngle()>345){
firstGun();
}
if(Math.abs(returnAngle) - currentAngle > 180)
returnAngle++;
else
returnAngle--;
}
Tried to paste and got this:
Sorry, that file is too big (maximum size is 3072kb). Why not upload your large file to a cloud sharing service, then share the link?