[thelist] making the move from php to asp

david.landy at somerfield.co.uk david.landy at somerfield.co.uk
Fri Apr 16 03:14:52 CDT 2004


<snip>
- why declare a variable if you can't declare a type?
</snip>

To catch you when it's 4am and you are falling into your keyboard and you
try coding something like:

dim myvar

... blah blah other code...

myver = myver + 1

and you spend 4 hours wondering why the variable "myvar" is unchanged.

(If you set explicit on, then ASP will bleat that myver is undeclared.)

Been there, done that, got the T-Shirt ;-)

David.
 
If you are not the intended recipient of this e-mail, please preserve the
confidentiality of it and advise the sender immediately of any error in
transmission. Any disclosure, copying, distribution or action taken, or
omitted to be taken, by an unauthorised recipient in reliance upon the
contents of this e-mail is prohibited. Somerfield cannot accept liability
for any damage which you may sustain as a result of software viruses so
please carry out your own virus checks before opening an attachment. In
replying to this e-mail you are granting the right for that reply to be
forwarded to any other individual within the business and also to be read by
others. Any views expressed by an individual within this message do not
necessarily reflect the views of Somerfield.  Somerfield reserves the right
to intercept, monitor and record communications for lawful business
purposes.


More information about the thelist mailing list