Discuss using and improving Lua and the Lua Player specific to the PSP.
	Moderators: Shine, Insert_witty_name
			
		
		
			- 
				
																			 soulphalanx
- Posts: 35
- Joined: Mon Aug 22, 2005 7:48 am
						
					
													
							
						
									
						Post
					
								by soulphalanx » 
			
			
			
			
			is there a way to check if an array has all 0's?
			
			
									
									
						 
		 
				
		
		 
	 
				
		
		
			- 
				
																			 apache37
- Posts: 76
- Joined: Fri Jun 04, 2004 3:13 pm
						
					
						
		
													
							
						
									
						Post
					
								by apache37 » 
			
			
			
			
			Yup.. Loop through the elements and break out when any of them are > 1. I don't know if LUA has a special command if that's what you're asking.