Soldato
		
		- Joined
 - 26 Aug 2005
 
- Posts
 - 6,901
 
- Location
 - London
 
Hi guys,
Just abit stuck on something. Basically I've got an array of IDs. I've got a if statement that checks that student doesn’t have a mark already.
Basically I have -
marks[num] != null;
Obviously you can't apply null to a int type so I was wondering how'd you do it?
	
		
			
		
		
	
				
			Just abit stuck on something. Basically I've got an array of IDs. I've got a if statement that checks that student doesn’t have a mark already.
Basically I have -
marks[num] != null;
Obviously you can't apply null to a int type so I was wondering how'd you do it?