Jump to content

Recommended Posts

Posted

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?

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...