Casio FX-890P Owner's Manual page 105

Casio personal computer owner's manual
Table of Contents

Advertisement

Code
Hex Code Name
¥a
0x07
¥n
0x0A
¥t
0x09
¥b
0x08
¥r
0x0D
¥f
0x0C
¥¥
0x5C
¥'
0x27
¥"
0x22
¥0
0x00
¥nnn
¥xmm
0xmm
Integer constants
Constants of the int type can be bradly classified as decimal, octal, and hexadecimal.
The letter "L" or "l" must be affixed for long type integers.
Decimals
Example: 1121
Note: Leading zeros cannot be used, because they mean an octal notation.
Octal:
Example: 033
Note: Leading zero required for octal notation. No number above 7!
Hexadecimal:
Example: ox1B
Note: 0x (or 0X) required for hexadecimal notation.
The following show the ranges of each type of notation. Negative integers are
accomplished using unary minus operators with unsigned constants.
Decimal constants
int
long
Octal constants
int
unsigned int
long
Hexadecimal constants
int
unsigned int
long
The ranges defined above also apply to entries for the scanf(), fscanf() and sscanf()
functions.
Bell (BEL)
New Line (NL)
Horizontal tab (HT)
Backspace (BS)
Carriage return (CR)
Form feed
Yen symbol
Single quote
Double quote
Null
Octal notation
Hexadecimal notation
-128 68000 123456789L (for long)
0777 012
01234567L (for long)
0xFFFF
0x09 0xffffffL (for long)
0
32768
00
0100000
0200000
0x0000
0x8000
0x10000
Meaning
Sound buzzer
Carriage return + Line feed
Horizontal tab
Backspace (one character)
Returns to line start
Change page
Character " ¥ "
Character " ' "
Character " " "
Equivalent to zero
Character code for octal value nnn.
Character code for hexadecimal value
mm
-
-
-
-
-
-
-
-
105
32767
2147483647
077777
0177777
017777777777
0x7fff
0xffff
0x7fffffff

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Z-1grZ-1

Table of Contents