# Warning in Output Results for MAX () function in AS4.12

**URL:** <https://community.br-automation.com/t/warning-in-output-results-for-max-function-in-as4-12/11812>\
**Category:** Programming\
**Tags:** automation-studio\
**Created:** [July 3, 2026, 10:34am UTC](https://community.br-automation.com/t/warning-in-output-results-for-max-function-in-as4-12/11812 "2026-07-03T10:34:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vimal\_Raj](https://avatars.discourse-cdn.com/v4/letter/v/FF8800/32.png) [@Vimal\_Raj](https://community.br-automation.com/u/Vimal_Raj)\
**Post date:** [July 3, 2026, 10:34am UTC](https://community.br-automation.com/t/warning-in-output-results-for-max-function-in-as4-12/11812/1 "2026-07-03T10:34:06Z")

</div>

Hii,

I was working on a project migration from AS4.10 to AS6. As part of the migration process, I first converted the project from AS4.10 to AS4.12 before moving it to AS6. During the conversion, only the AsString library functions were replaced with AsBrStr functions.  
The output results are correct and there are no errors. However, I noticed an additional warning related to the MAX () function in AS4.12 that was not present in AS4.10.  
I have attached screenshots of the warning and the relevant function code below. Has anyone encountered this before? Could this warning indicate a potential issue, or is it safe to ignore if the functionality and output remain unaffected?

 ![Screenshot 2026-07-03 113300](https://europe1.discourse-cdn.com/brcommunity/original/2X/2/219729d493c875adb0e7d9d0f7162fd9719fb5bb.png)

 ![Screenshot 2026-07-03 113239](https://europe1.discourse-cdn.com/brcommunity/original/2X/e/e41727acfe18a4b4d7d68951053002ce684a0820.png)

Thanks & Regards,

Vimal.

---

<div class="post-metadata">

**Author:** ![alexander.hefner](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/alexander.hefner/32/111_2.png) [@alexander.hefner](https://community.br-automation.com/u/alexander.hefner)\
**Post date:** [July 3, 2026, 10:47am UTC](https://community.br-automation.com/t/warning-in-output-results-for-max-function-in-as4-12/11812/2 "2026-07-03T10:47:57Z")

</div>

Hi,

please see here for additional info on that warning:

> **[B&R Online Help](https://help.br-automation.com/#/en/4/diagnostics_support%2Ferrors%2Fieccompiler%2Fbuild_error_1293.html)**

I personally would take the suggestion in that help page into consideration, as new warnings can come up as a result of findings from the past when issues were investigated by Support / R&D.

Best regards!

---

<div class="post-metadata">

**Author:** ![Vimal\_Raj](https://avatars.discourse-cdn.com/v4/letter/v/FF8800/32.png) [@Vimal\_Raj](https://community.br-automation.com/u/Vimal_Raj)\
**Post date:** [July 7, 2026, 4:39am UTC](https://community.br-automation.com/t/warning-in-output-results-for-max-function-in-as4-12/11812/3 "2026-07-07T04:39:56Z")

</div>

Hi,

Thank you for the information. I had already updated the code, but I was curious about the warning message. I now understand that it is related to an update introduced in AS4.12.

Thanks & best regards,  
Vimal.
