I complained not so much about the inconsistency as about the
confusions it gives rise to.

For SECTALGN(I) the integer I must BE a power of 2.

For STARTBDY(I) the integer I specifies the power of 2 the value of
which is the alignment specified.

Now the integer 0 is not a power of 2.  (2^-2 = 1/4, 2^-1 = 1/2, 2^0 =
1, 2^1 = 2, 2^2 = 4, . . .)  It thus cannot be an argument of of
SECTALGN.

Zero can, however, be an argument of STARTBDY.  STARTBDY(0) = 2^0 = 1,
i.e., byte alignment.  Then

STARTBDY(1) = 2^1 = 2
STARTBDY(2) = 2^2 = 4
STARTBDY(3) = 2^3 = 8
STARTBDY(1) = 2^4 = 16
STARTBDY(1) = 2^5 = 32
. . .
STARTBDY(12) = 2^12 = 4096
. . .

I am delighted to have so perspicuous an  example of what I was
complaining about available.

John Gilmore, Ashland, MA 01721 - USA

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to