Keyboard Characters

You should know the names and functions of all these standard keyboard characters.

NameSymbolFunction
Exclamation Point!Logical NOT operator
Ampersand&Logical AND operator &&
Vertical bar or pipe|Logical OR operator ||
At sign@Outlets and Actions
Percent%Math modulo (remainder) operator
Asterisk*Math multiplication operator
Hyphen-Math subtraction operator
Plus+Math addition operator
Slash/Math division operator
Underscore_Can be used in a variable name
Equals=Assignment operator
Colon:Type notation
Semicolon;Statement ending
Double quotation marks"String delimiters
Single quotation marks'String delimiters
Comma,Parameter separator
Period.Class member access
Question mark?Optional value
Tilde~
Backtick`
Pound sign or Hash#
Dollar sign$
Backslash\

Know the difference between these kinds of brackets.

NameSymbolFunction
Angle brackets< >Comparison operators
    Left or opening<Less than
    Right or closing>Greater than
Parentheses( )Parameter lists for functions
    Left or opening(
    Right or closing)
Curly brackets{ }Class, function, and method contents
    Left or opening{
    Right or closing}
Square brackets[ ]Arrays and array subscripting
    Left or opening[
    Right or closing]

You might find these special characters useful in your app.

NameSymbolAccess key
Exclamation point¡Option - 1
Trademark™Option - 2
Pound£Option - 3
Cent¢Option - 4
Infinity∞Option - 5
Section§Option - 6
ParagraphOption - 7
Bullet•Option - 8
En dash-Option - hyphen
Not equals≠Option - equals
Diagonal slash⁄Option - shift - 1
Euro€Option - shift - 2
Left quote‹ ›Option - shift - 3, 4
Degrees°Option - shift - 8
Middle dot·Option - shift - 9
Em dash—Option - shift - hyphen
Plus or minus±Option - shift - equals
Registered trademark®Option - R
Yen¥Option - Y
PiπOption - P
Smart Quotes" "Option - [, Option - shift - [
Smart Quotes' 'Option - ], Option - shift - ]
Copyright©Option - G
Approximately≈Option - X
Less than or equal≤Option - <
Greater than or equal≥Option - >
Divide by÷Option - slash
AppleOption - shift - K
Question mark¿Option - shift - ?

No comments:

Post a Comment