While working on completing my BCScript (AL) compiler/Interpreter, I realized that the case statement in AL is not like the case statement in Pascal. Follow along the discovery in this video:

https://youtu.be/Vj1ObSphZYU

2 Responses

  1. Hi Erik,

    Thank you for your videos!

    I used to work with Pascal before I came to Attain.
    I always loved the advance case possibilities.
    I sometimes use the case true instead of a list of if statements.

    Are you working on a AL compiler in AL? I started with a project to replace the my .net JavaScript engine I am using in BC for advanced configuration of data checks.

    King regards,
    Benjamin

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.