Last active
July 9, 2019 01:20
-
-
Save memish/22e052594088c9d5207790e10f857696 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String[] lines; | |
String name = "player"; | |
void setup(){ | |
size(700,400); | |
read(); | |
} | |
void draw(){ | |
background(5); | |
textSize(32); | |
// text(name + " " + amount, 10, 30); | |
} | |
public void read(){ | |
lines = loadStrings("nba.csv"); | |
println("There are " + lines.length + " lines."); | |
//printArray(lines); | |
for(int i=0; i<lines.length; i++){//look at each line | |
String[] s1 = lines[i].split(","); | |
//players name s1[1] | |
}//end of for loop | |
}//end of read function | |
void mousePressed(){ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment