Moved keywords from local variables to keywords map.

This commit is contained in:
brad Arant committed 2025-01-02 16:43:53 -08:00
1 parent 907f449ecc
commit 9622b5cf8c
23 files changed
+221 -220

No files matched your search

+3 -3
View File
@@ -7,12 +7,12 @@ namespace jet {
__whilerow::__whilerow(coreutils::ZString &in, coreutils::MString &parentOut, Global &global, Tag *parent, Tag *local) : Tag(in, parentOut, global, parent, local) {
int count = variables["count"].asInteger();
int count = keywords["count"].asInteger();
while ((count != 0) && global.getSession(variables["sessionid"])->hasRow()) {
while ((count != 0) && global.getSession(keywords["sessionid"])->hasRow()) {
processContainer(container);
container.reset();
global.getSession(variables["sessionid"])->nextRow();
global.getSession(keywords["sessionid"])->nextRow();
--count;
}