|
DTE Program code changes summary and
examples:
Integer amount work area variable is changed from decml to
idecml
Begin statements are no longer allowed to include
an opcde condition value on the same line. The opcde must be on its own line in the
program.
All program record definitions must "count out"
correctly to compile. For example,
prov_sid ,a15
@54 54 = 15 does not calculate as
prov_sgrs ,a10
@67 67 and must be changed to at least 69
prov_swt
,a9 @80
u_message syntax requirements have changed
If calling a message, you must also sepcify the
type of message -- for example,
xcall u_message
(opcde) is no longer
valid and must be...
xcall message (opcde,D_ERROR)
xcall i_init syntax has added another variable
option
u_costs must be defined as alphanumeric and
not decimal
Adjust to utilize %int within
Inventory programs
The sel_rfa variable must be defined as a6, not
d6
Single do reads syntax must be separated to
haveseparate lines of do begin, reads, end, and until
Input buffers must be defined as alpha, not
decimal -- any decimal overlays are no longer needed
The use of the defined variable, f_message is
utilized as follows:
'S': begin
xcall gettxt (DTER_LOK,f_message)
xcall e_sect (f_message,D_INFO)
rel_lockd = TRUE
end
***** BEFORE
'S': begin
xcall e_sect (dter_lok,D_INFO)
rel_lockd = TRUE
end
with the below added as a variable within the program:
record
f_message ,a40 ; Function message
Add %string to msgtextfmt for xcall u_message options in
windows.dbl
|