biology daily - the biology and biochemistry encyclopedia
biology daily articles and research Encyclopedia Dictionary Forums biology research links Weblinks Pictures Articles Blogs Newsletter

Sigil (computer programming)

In computer programming, a sigil is a symbol attached to a variable name, showing the variable's datatype.

The use of sigils was popularized by the BASIC programming language. The best known example of a sigil in BASIC is the dollar sign ("$") appended to the names of all strings. Other sigils existed for integers and floating point numbers, and sometimed for other types as well.

Larry Wall adopted BASIC's concept of sigils for his popular scripting language Perl. However, as Perl is a weakly typed language, the sigils specify not datatypes such as strings and integers, but general categories such as scalars, lists, and hashes.

See also



07-14-2008 23:18:10
The contents of this article are licensed from Wikipedia.org under the GNU Free Documentation License. How to see transparent copy
BiologyDaily.com 2005. Legal info   Privacy