fixed mysql tag to give values for ?# # and field name using #n.

This commit is contained in:
brad Arant committed 2024-11-27 15:37:58 -08:00
1 parent 6d2da98024
commit ae57e06778
5 files changed
+33 -13

No files matched your search

+8 -2
View File
@@ -23,8 +23,14 @@ namespace jet {
for(double ix = counter; ix <= variables["end"].asDouble(); ix += variables["step"].asDouble()) {
variables["end"].reset();
variables["step"].reset();
if(nameDefined)
variables[variables["name"]] = ix;
if(nameDefined) {
if(!variableDefined("scope") || (variables["scope"] == "global"))
global.variables[variables["name"]] = ix;
else if(variables["scope"] == "local")
local->variables[variables["name"]] = ix;
else if(variables["scope"] == "parent")
parent->local->variables[variables["name"]] = ix;
}
processContainer(container);
container.reset();
}