Hi MasterGy,
Since QB64.exe v 2.0+ you have to be careful using the Function name as a variable in the calculations for the Function.
I rewrote this function to obey this new rule for Functions:
And now the program does not bug out on me while loading screen up!!!
I simply replaced all kivul's with rtn in the Function definition. That is basic fix to most problems of incompatible programs that worked before v 2.0 but now don't.
Pretty cool stuff there MasterGy! way the heck over my head ;-))
Since QB64.exe v 2.0+ you have to be careful using the Function name as a variable in the calculations for the Function.
I rewrote this function to obey this new rule for Functions:
Code: (Select All)
Function kivul
rtn = 0: For t = 0 To 3: rtn = rtn Or (ana(t) < 0 Or ana(t) > maze_s(t) - 1) Or (ana(t) < 0 Or ana(t) > maze_s(t) - 1): Next t
kivul = rtn
End Function
And now the program does not bug out on me while loading screen up!!!
I simply replaced all kivul's with rtn in the Function definition. That is basic fix to most problems of incompatible programs that worked before v 2.0 but now don't.
Pretty cool stuff there MasterGy! way the heck over my head ;-))
b = b + ...