
today I got a good suggestion from one of my customers for PB function. It would be great if the compiler would check funktion calls with constant value if they are correct or not. For example:
SortArray(MyArray(),#PB_Sort_Ascending) -> fine
SortArray(MyArray(),0) -> fine
SortArray(MyArray(),3422) -> should give a compiler error as 3422 is just rubish
What do you think?