saveTable not saving
              in 
             Programming Questions 
              •  
              2 months ago    
            
 
           
             Hi,
            
             
            
            
             
            
            
             
            
            
             
            
            
             
            
            
             
            
            
             
            
            
             
            
             
            
            
             
            
            
             
            
            
             
             
           
 
            
           
             I have loaded a table, and table updates with a new top score when I play the game, but it wont save.
            
            
             Below is my for the top score code:
            
            
             Table scoretable;
            
            
             void setup() {
            
            
              scoretable = loadTable("topscore2.csv", "header");
            
            
             }
            
            
             void draw() {
            
            
              if(gamescore>scoretable.getInt(0,"score")){
             
             
                    scoretable.setInt(0, "score", gamescore);}
             
            
              saveTable(scoretable, "topscore2.csv");
            
            
             }
            
            
             Any ideas how I get the table to save so that when I close the app and re-open it, the top score is saved?
            
            
             I'm using android app
            
            
             Thanks
            
             
              
              1  
            
 
            