You’re indeed initializing field lasths[] inside setup():
lasths = loadStrings("hs.txt");
However, you still attempt to access lasths[] w/ the array access operator [] BEFORE setup():
String ahs1 = lasths[0];
You’re indeed initializing field lasths[] inside setup():
lasths = loadStrings("hs.txt");
However, you still attempt to access lasths[] w/ the array access operator [] BEFORE setup():
String ahs1 = lasths[0];