Menu

MOD does not work in an IF

2015-12-16
2015-12-17
  • David Stephenson

    Is this expected? I tried the following line
    IF K % 2 = 1 then x99=200
    It does not compile (adding brackets in various places does not help either). I had to use the work-a-round
    k1=k%2
    if k1=1 then x99=200

     
    • Anobium

      Anobium - 2015-12-17

      Fixed. GCB compiler v0.95 or greater.

       
  • Anobium

    Anobium - 2015-12-16

    This is a know issue. I will added to the know issue list.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.