Saving Values 
	 
	
		| Author | 
		Message | 
	 
		 
		Snicket
 
 
 
    
		 | 
		
		
			
				  Posted: Thu Jun 08, 2006 5:03 pm    Post subject: Saving Values  | 
	
				
				 | 
			 
			 
				
  | 
			 
			
				| How does one save a variable to file for later use and still be able to manibulate it. example : a high score chart. | 
			 
			
				 | 
			 
		  | 
	 
	 
		 | 
		
		 | 
	 
	  
		  | 
	 
		 
		Sponsor Sponsor 
		 
  
		 | 
		
 | 
	 
	 
		  | 
	 
				 
		Cervantes
 
  
 
    
		 | 
		
		
			
				  Posted: Thu Jun 08, 2006 5:13 pm    Post subject: (No subject)  | 
	
				
				 | 
			 
			 
				
  | 
			 
			
				| You can modify the value of a variable even after you write it to a file. It won't, however, update the value in that file. If you later get a new score that should be on the high score list, you need to rewrite to that file. | 
			 
			
				 | 
			 
		  | 
	 
	 
		 | 
		
		 | 
	 
	  
		  | 
	 
				 
		Snicket
 
 
 
    
		 | 
		
		
			
				  Posted: Thu Jun 08, 2006 5:18 pm    Post subject: (No subject)  | 
	
				
				 | 
			 
			 
				
  | 
			 
			
				| how does one write it to a file? | 
			 
			
				 | 
			 
		  | 
	 
	 
		 | 
		
		 | 
	 
	  
		  | 
	 
				 
		Cervantes
 
  
 
    
		 | 
		
		
			
				  Posted: Thu Jun 08, 2006 5:27 pm    Post subject: (No subject)  | 
	
				
				 | 
			 
			 
				
  | 
			 
			
				| One would go to thine Turing Walkthrough and search for the tutorial on Files Input/Output. | 
			 
			
				 | 
			 
		  | 
	 
	 
		 | 
		
		 | 
	 
	  
		  | 
	 
				 
		 | 
	 
 
	
	
	 
	
	 |