Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

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

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
    • View Profile
ASL do/while, for, break, continue statements
« on: March 05, 2014, 05: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: 1482
    • View Profile
Re: ASL do/while, for, break, continue statements
« Reply #1 on: March 05, 2014, 07:07:21 pm »

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: 2132
    • View Profile
Re: ASL do/while, for, break, continue statements
« Reply #2 on: March 06, 2014, 12: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, 06:05:19 pm by Steve »
Logged