Raised This Month: $32 Target: $400
 8% 

Good programming habits


Post New Thread Reply   
 
Thread Tools Display Modes
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 09-21-2005 , 06:38  
Reply With Quote #21

I just use the tab.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
scriptyboy
BANNED
Join Date: Sep 2005
Old 09-21-2005 , 06:56  
Reply With Quote #22

Quote:
Originally Posted by Suicid3
I just use the tab.
He meant he doesnt know how to set the tab to indet like 4 characters like in notepad...
scriptyboy is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 09-21-2005 , 08:34   Re: help with indentation
Reply With Quote #23

Quote:
Originally Posted by aossos
I have heard that most scripter/coders use and indent of 4 characters. Unfortunatly I don't know how to change the settings so that I use that size indent. Can someone tell me how this is done?
Just use tabs instead of spaces. Anyone that looks at your script will see it indented according to THEIR tab preferences. That's the beauty of tab indentations.

Then, if you want YOUR tabs to be 4 spaces long, you might be able to set it to be that way in your editor. Depends on what you use to edit the script.
Brad is offline
scriptyboy
BANNED
Join Date: Sep 2005
Old 09-21-2005 , 11:02   Re: help with indentation
Reply With Quote #24

Quote:
Originally Posted by Brad Jones
Quote:
Originally Posted by aossos
I have heard that most scripter/coders use and indent of 4 characters. Unfortunatly I don't know how to change the settings so that I use that size indent. Can someone tell me how this is done?
Just use tabs instead of spaces. Anyone that looks at your script will see it indented according to THEIR tab preferences. That's the beauty of tab indentations.

Then, if you want YOUR tabs to be 4 spaces long, you might be able to set it to be that way in your editor. Depends on what you use to edit the script.
Lol..i couldn't find it in notpad...so i must not be able to change it...i have ultraedit at home so ill use that from now on.
scriptyboy is offline
aossos
New Member
Join Date: Sep 2005
Old 09-21-2005 , 21:53  
Reply With Quote #25

Ok well thank you guys. I am trying to find editing programs. I'm going to do that now, but if anyone has any recomendations I would apprieciate it.
aossos is offline
Send a message via AIM to aossos
BioHazardousWaste
Senior Member
Join Date: Apr 2005
Location: Ontario, Canada =)
Old 09-21-2005 , 22:00  
Reply With Quote #26

Crimson editor, not too sure where to get it.. just punch it into a search engine, it's really nice.
__________________
"What then is truth? Truths are illusions which we have forgotten are illusions - they are metaphors that have become worn out... this (truth) is the duty to lie according to a fixed convention.

-Friedrich Nietzsche
BioHazardousWaste is offline
Send a message via MSN to BioHazardousWaste
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 09-22-2005 , 14:28  
Reply With Quote #27

AMXX has its own editor if you want it. Its on the main downloads page.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
Riddick51
BANNED
Join Date: Jul 2005
Location: Lincoln, Nebr US
Old 10-23-2005 , 22:08   AMXX Pawn wordfile for IDM UltraEdit-32
Reply With Quote #28

If You use IDM UltraEdit-32, I have set up this CompuPhase Wordfile for syntax highlighting. It is complete with AMXX constants and functions thru v1.60.
Attached Files
File Type: txt pawnwordfile.txt (29.6 KB, 494 views)
Riddick51 is offline
Send a message via AIM to Riddick51 Send a message via MSN to Riddick51 Send a message via Yahoo to Riddick51
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 10-23-2005 , 22:36  
Reply With Quote #29

NOTEPAD!!! W00T!

--Oldschool boi
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Batman/Gorlag
Senior Member
Join Date: Aug 2005
Old 10-24-2005 , 02:10  
Reply With Quote #30

YES another person who uses notepad . I use notepad too w00t.
__________________
GRR If only the amxmod programming were in Java.....
Java and C used to be two different languages, now Java is turning into another C. My logevent plugin
Batman/Gorlag is offline
Reply



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 23:35.


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