Overture Search the Web.
Type it and go!
 
 
 
 

4Test Tips - STRING Data

STRING data is limited to 16383 bytes

String variables can hold no more than 16383 bytes of data.  There is no error message if an attempt to exceed this length is made.  The data will be truncated at 16383 bytes.  Segue has said the documentation will be updated to reflect this limit. (get test here)
Solution - When handling STRING variables that may need very long byte strings you must be aware of this length limitation and program around it.

STRING data cannot contain binary zeros

The individual characters held by a STRING variable cannot have the binary zero value Chr(0).  Placing such a value in any position of a STRING variable has unusual side effects.  First it appears to truncate the variable to those characters to the left of the inserted Chr(0).  Yet the Len function returns a value larger than the truncated string.  As some test scripts have used this "feature" to truncate strings, Segue is unwilling to support Chr(0) values in the future.
Solution - Segue recommends that you use lists of INTEGER to cope with full binary data. To write binary files you will need to pass this list to functions you write using the Extension Toolkit.

 

 

Send questions or comments about this web site to: webmaster@TestMap.com
Copyright © 1998,2001 Charles B. Hedstrom