RE: [sv-bc] Mantis 331 updated for Draft 3

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Sun Jul 22 2007 - 06:22:04 PDT
Hi,

The proposal suggests the following text in 20.3.3:

"The first argument to $swrite shall be a variable of integral, unpacked
array of byte, or string data types to which the resulting string shall
be written"

and with respect to $sformat, 

"This format argument can be a static string literal, such as "data is
%d", or may be an expression of integral, unpacked array of byte, or
string data types whose content is interpreted as the formatting string.
An integral data type will be cast to a string."

I find the wording of these sentences slightly ambiguous and jarring to
the ear. I would propose,

"The first argument to $swrite shall be a variable of integral type,
unpacked array of byte type, or string data type, to which the resulting
string shall be written"

and with respect to $sformat, 

"This format argument can be a static string literal, such as "data is
%d", or may be an expression of integral data types, unpacked array of
byte data types and string data types, whose content is interpreted as
the formatting string. An integral data type will be cast to a string."

I also don't see the need to add "static" before "string literal".

I also don't see why "an integral data type will be cast to a string".
This was not the case in the past.

Thanks,
Shalom


> -----Original Message-----
> From: owner-sv-bc@server.eda.org 
> [mailto:owner-sv-bc@server.eda.org] On Behalf Of Bresticker, Shalom
> Sent: Sunday, July 15, 2007 11:38 AM
> To: Rich, Dave; sv-bc@server.eda-stds.org
> Subject: RE: [sv-bc] Mantis 331 updated for Draft 3
> 
> Also see related Manti 1743 and 1808.
> 
> Shalom 
> 
> > -----Original Message-----
> > From: owner-sv-bc@server.eda.org
> > [mailto:owner-sv-bc@server.eda.org] On Behalf Of Rich, Dave
> > Sent: Saturday, July 14, 2007 9:34 AM
> > To: sv-bc@server.eda-stds.org
> > Subject: [sv-bc] Mantis 331 updated for Draft 3
> > 
> > Mantis 331 - Update $display and other file I/O system tasks for 
> > aggregate data type
> > 
> > has been updated for draft 3. That section when through substantial 
> > changes, so please review carefully.
> > 
> > http://www.eda-stds.org/svdb/view.php?id=331
> > 
> > Dave

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Sun Jul 22 23:32:41 2007

This archive was generated by hypermail 2.1.8 : Sun Jul 22 2007 - 23:33:00 PDT