A call of an imported procedure, and %INT/%DEC of %TRIM #619
Loading…
Reference in a new issue
No description provided.
Delete branch "rpg-9-n-extcall-20261023"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A call of an imported procedure: extproc, and *OMIT of a CEE service
rpg_frames.zig(importFrame): the frame of a call of a procedureimport. Units 1 and 2 as for a procedure of the module, then the count
header (
27 N-1; 37 H 0 I4; 33 H, its address the last argument) or, for99 P N 0 0, a null pointer pushed before the frame, which is*OMITofthe last parameter; then the name store and the blank of S+102.
rpg_eval.zig: a proved call of an import takes arguments by referenceand
*OMIT; CEERAN0 (a runtime table row) is then a call of the source.rpg_source.zig: such a call isP(F: G: *OMIT)with a prototypedcl-pr P extproc('NAME')of the field types;*OMITis*n char(12) options(*omit)(the feedback code of a CEE service).h-extproc(dictionary battery calls6),h-ceeran(batteryceeran: the LEMONADE groups 103 and 130 have its exact operation family).
LEMONADE: 143 of 148 statements emitted on this change alone (was 141).
%INT and %DEC of %TRIM
rpg_trim.zig(argumentUnit): the trim loops followed by27 P; 113 q 1; 27 Ngive the trimmed value and its length as callarguments (
%TRIM(F),%LEN(%TRIM(F))).rpg_decimal_call.zig:_QRNX_GET_DECIMAL_NUMof such a value: thesource is the trimmed field, or the data of a parameter at its pointer;
the proof starts at the trim.
I = %int(%trim(f))andZ = %dec(%trim(f) : 5 : 0)are recovered.h-numtrim(dictionary batteries numtrim, numtrimp): the LEMONADEgroup 71 has its operation family. LEMONADE: group 71 recovered.
LEMONADE with both: 172 recovered, 6 partial, 0 unresolved (golden test).
e88aa9b2509af65ad82aA call of an imported procedure: extproc, and *OMIT of a CEE serviceto A call of an imported procedure, and %INT/%DEC of %TRIM