Previous topic | Next topic | Ada Home Page | Index

CHARACTER type

The CHARACTER type is used when you want to represent a single character. Applications include

Character Sets

binary codes <=> character values

arbitrary, BUT:

CHARACTER values

write in apostrophes:

'A'
'8'
'?'
' '
'''
'"'

NB avoid confusion: the CHARACTER '1' is not the same as INTEGER 1, or FLOAT 1.0

Attributes

Attributes of the data type as a whole:

Attributes of individual CHARACTER values:

CHARACTER operations

Input/Output

Comparison

Other


Previous topic | Next topic | Ada Home Page | Index
c-lokan@adfa.oz.au / 12 Feb 96