# : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

#

Names

# is officially called the octothorpe, from its eight points or possibly representing eight fields. In Twitter, it is called a hash tag. There, it is used to mark a keyword in a post. On a telephone keypad, it is called the pound key. I think this goes back to the days of the mechanical typewriter where shift-3 gave you either £ or # depending on the model. It is sometimes called the number sign. It looks similar to the musical sharp ().

Uses

In HTML (Hypertext Markup Language) it is used in hex entities such as ♯ or decimal entities such as ♯. It is used in Unix to introduce the name of an interpreter for a given script. e.g. #!/usr/bin/perl In Python, it introduces a comment. It has no special significance in Java.


This page is posted
on the web at:

http://mindprod.com/jgloss/octothorpe.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\octothorpe.html
Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[3.21.105.134]
You are visitor number