Skip to content

Commit

Permalink
Loop bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aixoio committed Jan 15, 2023
1 parent 1a10a58 commit b516473
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/codes/loops.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ def findData(self):

def execute(self):

if self.times == "@":

self.isWhile = True

if self.isWhile:


Expand Down Expand Up @@ -104,7 +108,7 @@ def execute(self):

varmanager.runningLoop = True

for i in range(self.times):
for i in range(int(self.times)):

varmanager.vars[self.indexVarname] = float(i)

Expand Down
4 changes: 2 additions & 2 deletions src/varmanager.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
vars = {

"VERSION": "9.1.1"
"VERSION": "9.1.2"

}

defaultvars = {

"VERSION": "9.1.1"
"VERSION": "9.1.2"

}

Expand Down

0 comments on commit b516473

Please sign in to comment.