Science Fair Project Encyclopedia
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
03-10-2013 05:06:04
The contents of this article is licensed from www.wikipedia.org under the GNU Free Documentation License. Click here to see the transparent copy and copyright details
The contents of this article is licensed from www.wikipedia.org under the GNU Free Documentation License. Click here to see the transparent copy and copyright details


