Modify a text file: $/array1.java
$/array1.java
//// Array practice. float[] a; int n=10; int sayX=20, sayY=20, sayDY=12; void setup() { // Setup: screen, define array. size(640,480); a= new float[10]; fill( a, n ); } void draw() { // Draw: show array. background(255); fill(0); // text( "Press 'f' to fill arry, 's' to show array, etc.", 0,10 ); sayX=40; sayY=40; sayDY=12; // fill(0); show( a, n ); } void show( float[] a, int n ) { //// Show the array. color c; for (int j=0; j