Verse compiles but fails validation

No, it is not. The appearance of result in our code has nothing to do with verse persistence.
This was our only ocurrence of the result - i have now changed it to res.

if(res:=NumOfLevels / LevelsInRow):
                set NumOfRows = Ceil(res)
2 Likes