AS Code: Which version will contain overloading & support fluent pattern

Hi Community

I have the PDF of the Expert Talk (October 2025), but the roadmap only consists of a few bullet points:

Is there an official page (that’s regularly updated) that specifies when (or in which version) each feature should be introduced to AS Code?

Current questions:

  • When will method overloading be implemented to reduce queries to “NULL” in currently developed/used “flexible functions”?

  • Why can’t we return “THIS” (Fluent Pattern), and will this be implemented (and when)?

Thank you

Hi,

here are more details what is supported in AS5.5

Thanks. I didn’t know AS5.5 existed :smiley:

However:

  • nothing about future features
  • nothing about overloading
  • nothing about “return THIS” / Fluent Pattern (← only “code reduction” and readability)

Even a (rough/uncertain) plan for the next features would be helpful to plan when we could switch over or when which libraries could be adapted.

But certainly helpful for other people.

Hi,

I am sorry but we can not post more detailed road maps here because some of this information is confidential. You would have to contact your local B&R representitive for that information.

Best regards

Stephan

2 Likes

Okay. I didn’t know the upcoming features were confidential.

Thank you for the explanation.

Overloading is not part of the standard, so that would probably require a feature request.
The only thing that supports overloading are the standard ANY ST functions afaik.

image

image

In which document can I find this?

I wrote an e-mail to B&R support as mentioned above… Interfaces are part of IEC afaik but not implemented.

Interfaces will be implemented. Don’t know where we are at there at the moment.
We will implement ST-OOP as per the IEC 61131-3 standard.

Anything extra is either coincidence, historic differences of B&R ST syntax or easy to implement due to cross compilation to C++ upon compiling the ST-OOP code.
Or explicitly requested by someone and approved by the product management.

The standard you can get here:

1 Like