Menu

ECMA-116 isn't standard

Tom Lake
2025-03-13
2025-09-06
  • Tom Lake

    Tom Lake - 2025-03-13

    The ECMA-116 choice doesn't follow the standard for strings. It uses MID$ to get characters. The standard uses an substring notation so that to print characters 2 through 4 , you'd do this:
    A$="THIS IS A TEST"
    PRINT A$(2:4)

    HIS

    Also, the MAT statements are missing. Are there any plans to increase compatibility?

     
    • Paul Edwards

      Paul Edwards - 2025-09-06

      Hi Tom.

      I'm not aware of anyone doing development work/enhancements currently.

      I just maintain it when people submit modifications.

      I also sometimes create new targets (makefiles), given that the code is C90-compliant.

      I don't actually use it myself.

       

Log in to post a comment.

MongoDB Logo MongoDB