Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, プログラミング・ガイド

同等なデータ・タイプ

表 31 は、C と PL/I に共通する同等なデータ・タイプの 一覧です。

表 31. C と PL/I の同等なタイプ
C のタイプ
同等な PL/I のタイプ
char[...]
char(...) varyingz
wchar[...]
wchar(...) varyingz
signed char
fixed bin(7)
unsigned char
unsigned fixed bin(8)
short
fixed bin(15)
unsigned short
unsigned fixed bin(16)
int
fixed bin(31)
unsigned int
unsigned fixed bin(32)
long long
fixed bin(63)
unsigned long long
unsigned fixed bin(64)
float
float bin(21)
double
float bin(53)
long double
float bin(p) (p >= 54)
enum
ordinal
typedef
define alias
struct
define struct
union
define union
struct *
handle

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)