[sv-bc] Mantis 331 on strings

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Sat Jan 13 2007 - 23:20:15 PST
  

Hi, Mantis 331 changes the sentences 

The first argument of $swrite can be a string variable.

The argument corresponding to a string % format specifier (s) may have
the string data type.

 

to

 

The first argument of $swrite can be either a string or unpacked array
of byte variable.

The argument corresponding to a string % format specifier (s) may have
either the string

or unpacked array of byte data type. Ordering of the array is from left
bound to right bound.

 

I think that the addition of the word "either" introduces some
ambiguity. When I read these sentences with the word "either", it
carries for me a connotation of exclusivity, that is, that these are the
only possibilities, which is not the case. The first argument of $swrite
can be some form of a one-dimensional packed array variable, for
example.

To avoid these ambiguities, I would propose to change these sentences
to:

The first argument of $swrite can also be a string or unpacked array of
byte variable.

The argument corresponding to a string % format specifier (s) may also
have the string

or unpacked array of byte data type. Ordering of the array is from left
bound to right bound.

 

Also, wherever "unpacked array of byte" is mentioned in Mantis 331 (not
just in these sentences), does it need to specify "one-dimensional"?

Thanks,

Shalom

Shalom Bresticker

Intel Jerusalem LAD DA

+972 2 589-6852

+972 54 721-1033 

 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



image001.gif
Received on Sat Jan 13 23:20:43 2007

This archive was generated by hypermail 2.1.8 : Sat Jan 13 2007 - 23:21:11 PST