Forums › ProRealTime English forum › ProOrder support › Strange if condition code error › Reply To: Strange if condition code error
I’m not interested in the batch file as it is not PRT code and so completely irrelevent.
We are not talking about any other programming language. We are talking about PRT code and how it works. How I described and how I finally wrote it is how PRT expects it to be written to work and the confirmation is that it works.
Maybe you should look at some of the coding courses on this website or read the PRT documentation also available on here so as to fully understand how PRT code is expected to be written.
I would suggest completely forgetting how other languages expect it to be and what works in other languages and code it how PRT expects it to be otherwise you will make life very hard for yourself. It is not a bug it is just a different logic! 🙂