Specifications

RN: 3-10
RS3: Software Release Notes for P1 R4.2
System Improvements
Table 3.7. RS3 Corrected Software Discrepancies in Previous P1 Releases (continued)
ID
Fixed in
Release
NumberDescription
Batch
801057
When writing a character string to a string variable, the string length
might be prematurely terminated.
This problem is partially fixed to the extent that a shorter string can now be
inserted within a longer string without causing the termination character to
be added, as long as the length of the short string is correctly defined in the
long string placement.
The places defined in the destination string must match the length of the
string in the source string:
long$=“1234567890”
short$= “abc”
long$ (4,6) =short$
results in long$ being: “1234abc890”
If you try to put a shorter string in the number of places defined:
long$=“1234567890”
short$=“abc”
long$ (4,7) =short$; “Note the 7 here.”
The resulting string for long$ will be: “1234abc”
If you do a strlen ( ) function on long$, it will report 10 characters, but will
print out (to a report) only the first 7 characters. If you try to insert a string
that has a different number of places than the predefined length of the
destination string, you may not get the results you expect.
To avoid this problem, define both the length of the source string, and the
position where the destination string will be inserted.
long$=“1234567890”
short$=“abc”
position=4; “The position where the first character of the string should go.
len=(strlen(short$)--1); Subtract 1 because the place count begins at 0”
long$ (position, (position+len) ) =short$
Also, the full length of the destination string must be defined before you
begin to add substrings within it.
Example: (A character is used in this example to represent a blank
space.)
shared string long$ long$ (4, 6) =“abc”
You might expect long$ to be: ⋅⋅⋅⋅abc” (4 spaces and 3 characters)
However, it might print: “^4%.abc”
The correct way to do this is to first define the string: shared string long$
long$=“⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅”; “Define string with 10 places (spaces or
characters).”
long$ (4,6)=“abc”
The long$ string will now be: ⋅⋅⋅abc⋅⋅⋅⋅; 3 spaces, 3 characters, 4
spaces.”
Do not try to append characters beyond the defined length of the destination
string.
3.1
Batch
801066
The recipe information screens do not display all Batch configuration fields.
Fixed.
1.0
(continued on next page)