fixed mysql tag to give values for ?# # and field name using #n.
This commit is contained in:
1 parent
6d2da98024
commit
ae57e06778
5 files changed
+33
-13
No files matched your search
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user