Raised This Month: $ Target: $400
 0% 

warning 217:loose indentation


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 06-25-2007 , 11:38   Re: warning 217:loose indentation
Reply With Quote #5

Quote:
Originally Posted by crazylf2 View Post
const a = 64
new cfgdir[a]


it should work
no...

like kmal2t said, loose indentation is only a warning and won't affect plugin performance. simple solution is to use an auto indenter. what it means though is that the number of spaces/tabs is not the correct amount from the previous line.

a simple guide to go by to never run into this is, for anytime code can be surrounded by brackets ({}) add another tab.

Code:
	if(blah)
		blah2()
	else{
		for(new i=0; i<4; i++)
			blah3(i)
	}
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode