Is # a reserve character?

Susan Allen Wyoming

Registered User.
Local time
Today, 10:13
Joined
Feb 15, 2001
Messages
22
Because I am a garden center, we use things like Feet and inches. I know that apostraphes are reserve characters but what about Pound signs "#"?

Thanks

Sue
 
The pound sign is a "type declaration character", which is a reserved character that may be appended to a variable name to implicitly declare its type (in this case, Double). So, you should probably avoid using it in other contexts in your code, except within literal string values.

The red folder indicates that either the topic or at least one reply to it have been posted since the last time you logged in.
 
Yes, "#" is a reserved character. It is used to denote date fields, as in #3/23/01#.

It's best to not use it in variable names.

Hope this helps,

Peter De Baets
Peter's Software - MS Access shareware and freeware http://www.peterssoftware.com
 
Thanks, Peter. I forgot about that other use for the pound character.
 

Users who are viewing this thread

Back
Top Bottom