Ellipsis (computer programming): Difference between revisions

Content deleted Content added
Ranges: linking
new section: Parent directory, and adjust intro
Line 1:
{{refimprove|date=September 2014}}
In [[computer programming]], '''ellipsis''' notation (.. or ...) is used to denote ranges, or an unspecified number of arguments, or a parent directory. Most programming languages other than [[Perl6]] require the [[ellipsis]] to be written as a series of periods; a single ([[Unicode]]) ellipsis character cannot be used.
Most programming languages other than [[Perl6]] require the [[ellipsis]] to be written as a series of periods; a single ([[Unicode]]) ellipsis character cannot be used.
 
== Ranges ==
Line 31 ⟶ 30:
 
In the [[Unified Modeling Language]] (UML), a two-character ellipsis is used to indicate variable cardinality of an association. For example, a cardinality of 1..* means that the number of elements aggregated in an association can range from 1 to infinity (a usage equivalent to [[Kleene plus]]).
 
==Parent directory==
 
On Windows and Unix-like operating systems, ".." is used to access the parent [[Directory (computing)|directory]] in a [[Path (computing)|path]].
 
== Incomplete code ==