Raised This Month: $51 Target: $400
 12% 

AMXX hungarian notation


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 06-25-2018 , 13:49   AMXX hungarian notation
Reply With Quote #1

Hello, is there any list with the hungarian notations of amxx?
__________________








CrazY. is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 06-25-2018 , 13:57   Re: AMXX hungarian notation
Reply With Quote #2

Notations? Do you mean translations? Just look at all the lang files - https://github.com/alliedmodders/amx...r/plugins/lang
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 06-25-2018 , 14:14   Re: AMXX hungarian notation
Reply With Quote #3

Not exactly, I'm meaning something like this.
http://web.mst.edu/~cpp/common/hungarian.html
__________________








CrazY. is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 06-25-2018 , 14:26   Re: AMXX hungarian notation
Reply With Quote #4

Since AMXX pawn is not a typed language, in this case most common is use C++ standards.
In forums have a tutorial or section that details that, but i did not remember where is the topic
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 06-25-2018 , 14:35   Re: AMXX hungarian notation
Reply With Quote #5

I know fews, but I still have doubts with others, not that this is really necessary...

Code:
g_		= Global variables
sz		= String
v 		= Vector
fl 		= Float
f 		= Flag (bit-wise macro related as far I know)
i 		= Integer
bits 	        = Bits variable
b 		= Boolean
p               = Cvar pointer
pev            = Entity or player
I will try to search.
__________________









Last edited by CrazY.; 06-25-2018 at 17:06.
CrazY. is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 06-25-2018 , 22:14   Re: AMXX hungarian notation
Reply With Quote #6

Well there's nothing written when talking about notations on AMXX. In my case, as there are no valid or invalid camel case notations, I use my own prefixes taking in mind I will understand it.

a for Dynamic Arrays
t for Dynamic Tries
h for Handles
p for Pointers (it's not the same as a Handle)
s for Structure (whichever)

And the ones you think are correct to prefix.
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS 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 18:19.


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