type: 型
上智大学 伊藤 潔
2006年5月29日
変数の型についてまとめます.
| 整数型 | integer type | 小数部分がない | |
| 固定小数点型 | fixed point | <同上> | |
| 実数型 | real type | 小数部分がある | |
| 浮動小数点型 | floating point | <同上> | |
| 文字型 | character type | 文字が入る | |
| 文字列型 | string type | 文字列が入る | |
| 配列型 | array type | 配列(1, 2, 3, …,n次元)が入る.2次元の場合は,matrix type ともいう | |
| ポインタ型 | pointer type | ||
| リスト型 | list type | contentsがポインタで繋がれている | |
| 構造体 | structure type | 型の違うデータが,ひとまとまりになっている | |
| レコード型 | record type | <同上> | |
| 抽象データ型 | abstract data type | データとその操作子群で定義されている | |