Proper way to use Variables
Good morning,
I'm somewhat new to ASP however I have a background in PHP. The use of variables between the 2 langauges is quite different and I'm wondering a few things:- Dim vs. Set: What's the difference and when should I use them?
- Is it bad to just define a variable without declaring it?
- What variables should be cleared or set to nothing and when?
I know these may be fairly simple questions but I feel as though I need to start from the beginning and really get a handle on variables before I write any more ASP applications.
I have researched google however I found it difficult searching for these answers. There didn't seem to be a lot of information specific to these questions.
Thanks,
Adelyra