bdb4269 Posted April 29, 2008 Posted April 29, 2008 This is surely a very newb question but...... I've noticed in UDF's, etc. -- that the variable names are usually prefixed with a letter or two and "_" --- I am assuming this is done to help avoid problems with same named variables. What I am wondering though -- is if there is an rhyme or reason to it -- kinda like a "best practices" sort of thing Like do individual people just pick random (meaning whatever they feel like) letters, or is there any kind of scheme to it?
C2C Posted April 29, 2008 Posted April 29, 2008 If you make an UDF for example sound you can name it whatever you feel like but if a particular function of your sound udf plays a sound it would be only logical to call it _SoundPlay would it not? ----------------------------------90% of teens today would die if Myspace,Bebo + FaceBook had a system failure and was completely destroyed. If you are one of the 10% that would be laughing, copy and paste this to your signature.----------------------------------Code to win, 'till you die, 'till the compiler dies from your linesCode to win, take it all, just keep coding till you fallDay by day, codin' all the way, I'm not cavin' inLet another App begin, code to win
weaponx Posted April 29, 2008 Posted April 29, 2008 (edited) UDF Standards Edited April 29, 2008 by weaponx
bdb4269 Posted April 29, 2008 Author Posted April 29, 2008 UDF StandardsThanks! Just what I was looking for.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now