@firewireguy said:
This was found the other day in part of the code that's in production
for a large financial company. Although it's not wrong or buggy
it did make us wonder who on earth wrote it and gave us all a good
laugh. Perhaps they wanted to be extra specially sure it was
correct or something.
Lets check if the recordset is at the end of the file, or if it isn't,
or if it isn't not and the not end of file doesn't equal false.......
One of them.
<font color="blue">if</font><font color="black">(((</font><font color="gray">rsMClientPaymentArrangement</font><font color="black">.</font><font color="#880000">IsEOF</font><font color="black">() == </font><font color="#a000a0">FALSE</font><font color="black">) == </font><font color="#a000a0">TRUE</font><font color="black">) != </font><font color="#a000a0">FALSE</font><font color="black">)
</font>
What do you mean its not buggy?
it SHOULD be
<font color="blue">
if</font><font color="black">
(isTrue(((</font><font color="gray">
rsMClientPaymentArrangement</font><font color="black">
.</font><font color="#880000">
IsEOF</font><font color="black">
() == </font><font color="#a000a0">
FALSE</font><font color="black">
) == </font><font color="#a000a0">
TRUE</font><font color="black">
) != </font><font color="#a000a0">
FALSE</font><font color="black">
) != </font><font color="black">
</font><font color="#a000a0">
FALSE</font><font color="black">
)</font>