Re: [Cobolforgcc-devel] FW: MOVE 2002
Status: Pre-Alpha
Brought to you by:
timjosling
From: Tim J. <te...@me...> - 2001-04-11 21:19:32
|
As I read it you cannot specify a signed number for an unsigned data item. But a signed data item can have an unsigned number. But then again I am hopeless at reading standards. Tim Josling "William M. Klein" wrote: > > Tim, > Sorry for not getting back to you sooner on this. I believe that you are > correct that this is "underspecified" in the FCD. There is no way to > determine HOW MANY "leading zeroes" are in the USAGE BINARY-LONG item before > its "conversion" which makes the "alignment rules" impossible to figure out. > It is clear that the "signed" phrase is "ignored" - but that doesn't really > answer your question. > > I plan on including this in my (last) Public Review comment - but you may > want to include it as well. > > P.S. I haven't checked it - but your "VALUE" clause for V1 may not be > "conforming". I can't remember if you can have an unsigned VALUE clause for > a USAGE BINARY-LONG SIGNED data item or not. However, that wouldn't > "change" the impact of your question. > |