Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Comma
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Computing== In the common [[character (computing)|character]] encoding systems [[Unicode]] and [[ASCII]], character 44 ([[hexadecimal|0x2C]]) corresponds to the comma symbol. The [[HTML]] [[numeric character reference]] is <code>&#44;</code>. In many computer languages commas are used as a field delimiter to separate arguments to a [[Subroutine|function]],<ref>{{cite web |url= https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Trailing_commas#Trailing_commas_in_functions |title=Trailing commas |access-date=31 May 2019 |first1=Felix |last1=Kling |first2=Florian |last2=Scholz |first3=Eric |last3=Shepherd |date=23 March 2019 |website=[[Mozilla|Mozilla Blog]] |archive-url= https://web.archive.org/web/20190405084616/https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Trailing_commas |archive-date=5 April 2019}}</ref> to separate elements in a [[Array data type|list]], and to perform data designation on multiple variables at once. In the [[C (programming language)|C programming language]] the comma symbol is an [[Comma operator|operator]] which evaluates its first [[Parameter (computer programming)|argument]] (which may have side-effects) and then returns the value of its evaluated second argument. This is useful in ''for'' [[statement (programming)|statement]]s and [[Macro (computer science)|macros]]. In [[Smalltalk]] and [[APL (programming language)|APL]], the [[comma operator]] is used to [[Concatenation|concatenate]] collections, including strings. In APL, it is also used [[unary operation|monadically]] to rearrange the items of an array into a list. In [[Prolog]], the comma is used to denote [[Logical Conjunction]] ("and"). The [[comma-separated values]] (CSV) format is very commonly used in exchanging text data between database and spreadsheet formats.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)