Share on Facebook Share on Twitter Email
Answers.com

Greater-than sign

 
Wikipedia: Greater-than sign

Contents

Computing

The greater-than sign (>) is an original ASCII character (hex 3E, decimal 62).

Angle brackets

The greater-than sign is used for an approximation of the closing angle bracket (⟨). ASCII does not have angle brackets[citation needed].

Programming language

In BASIC, operator > means "greater than".

In Java, operator > means "greater than".

In Fortran, operator .GT. means "greater than".

In Lisp, function called > means "greater than".

In C, operator > means "greater than".

Double greater-than sign

The double greater-than sign (>>) is used for an approximation of the much-greater-than sign (≻). ASCII does not have much-greater-than sign.

The double greater-than sign (>>) is used for an approximation of the closing guillemet (»). ASCII does not have guillemets.

In Java, operator >> is the right-shift operator.

In C, operator >> is the right-shift operator.

In C++, operator >> is the right-shift operator. It is also used to get input from a stream, similar to the C functions getchar and fgets.

Greater-than sign plus equals sign

The greater-than sign plus the equals sign (>=) is used for an approximation of the greater-than-or-equal-to sign (≥). ASCII does not have greater-than-or-equal-to sign.

In BASIC, operator >= means "greater than or equal to".

In Java, operator >= means "greater than or equal to".

In Fortran, operator .GE. means "greater than or equal to".

In Lisp, function called >= means "greater than or equal to".

In C, operator >= means "greater than or equal to".

Shell scripts

In Bourne shell (and many other shells), greater-than sign is used to redirect output to a file. Greater-than plus ampersand (>&) is used to redirect to a file descriptor.

Spaceship operator

Greater-than sign is used in the spaceship operator.

HTML

In HTML (and SGML and XML), the greater-than sign is used at the end of tags. The greater-than sign may be included with >.

See also


Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
 
 

 

Copyrights:

Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Greater-than sign" Read more