Cardinal Sign
Moderator: General Moderators
Cardinal Sign
Hello…
Can someone tell me what the Cardinal ( # ) sign means?
Example:
#FileName = "Connector.html"
#Type = "MYSQL"
#HTTP = "True"
Thanks!
Can someone tell me what the Cardinal ( # ) sign means?
Example:
#FileName = "Connector.html"
#Type = "MYSQL"
#HTTP = "True"
Thanks!
Re: Cardinal Sign
It means different things in different contexts. Depends on whether it's in a source file (what language?) or configuration file, etc. Most commonly, and almost surely in the context you showed, it indicates that anything following it on that line is only a comment and will be ignored.
Re: Cardinal Sign
I've never heard it called the "cardinal" sign. Only the "pound" sign.
What ~califdon said is right.
What ~califdon said is right.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Re: Cardinal Sign
It's also called an octothorpe. I like to think "eight thorns", but that is probably incorrect since thorpe appears to be related to a cluster of houses.
Edit: More at World Wide Words
Edit: This post was recovered from search engine cache.
Edit: More at World Wide Words
Edit: This post was recovered from search engine cache.
Last edited by McInfo on Wed Jun 16, 2010 11:46 am, edited 1 time in total.
Re: Cardinal Sign
Well, I only used the google translator, in portuguese that sign is called "cardinal".
Thanks for the answers
Thanks for the answers
Re: Cardinal Sign
In Bulgaria it's called "диес" [die's]. Especially when referring to the telephone keypad button # 
There are 10 types of people in this world, those who understand binary and those who don't
Re: Cardinal Sign
Here it would be "диез" [die'ʒ], but more commonly when referring to music notation sign.VladSun wrote:In Bulgaria it's called "диес" [die's]. Especially when referring to the telephone keypad button #
Re: Cardinal Sign
I hate it when people call # a pound sign. This is a pound sign: £pickle wrote:I've never heard it called the "cardinal" sign. Only the "pound" sign.
What ~califdon said is right.
</british>
Re: Cardinal Sign
It's called square in Swedish... 
- jayshields
- DevNet Resident
- Posts: 1912
- Joined: Mon Aug 22, 2005 12:11 pm
- Location: Leeds/Manchester, England
Re: Cardinal Sign
I must be the only one thinking I'm looking at a different character.
# is a hash...
# is a hash...
Re: Cardinal Sign
Nah, that's what you smoke.jayshields wrote:I must be the only one thinking I'm looking at a different character.
# is a hash...