Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

An update to Anim8or, v1.00b, is available with a few bug fixes. Get your copy HERE. See the "ReadMe" file for details.

Author Topic: ASL do/while, for, break, continue statements  (Read 1762 times)

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1532
    • View Profile
ASL do/while, for, break, continue statements
« on: March 05, 2014, 10:24:20 pm »

This builds adds do/while, C-like for, break and continue statements. They should have the same semantics as C so give them a try and let me know if you find any problems.
Logged

Raxx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1448
    • View Profile
Re: ASL do/while, for, break, continue statements
« Reply #1 on: March 06, 2014, 12:07:21 am »

Gave 'em a try, all seem to work as expected, which is awesome. I'm super happy that there's finally a "real" for statement ;)

Now all we need are those compound operators and increment/decrementers... 8)
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1532
    • View Profile
Re: ASL do/while, for, break, continue statements
« Reply #2 on: March 06, 2014, 05:37:27 am »

I'm working on adding the others. It takes longer to do that I'd like - implementation and testing is a bit time consuming - I always try to do enough testing to insure that things aren't too badly broken.
« Last Edit: March 07, 2014, 11:05:19 pm by Steve »
Logged