On Sep 28, 2017, at 2:00 PM, Timothy Penner wrote: > Parenthesis should always be used with 4D's math operations as a way to force > the order of operations. > > If you do not use Parenthesis then you may find different values in compiled > mode vs interpreted mode - > > For example: > > interpreted: 2+2^3=64 > compiled: 2+2^3=10 > > This behavior has existed since at least 4D 2003...
Tim, So the exact same code provides different results when run interpreted or compiled? You cannot tell me this is not a bug. I just checked v16.1 documentation and it says nothing about math operators working differently in compiled and interpreted. http://doc.4d.com/4Dv16/4D/16.2/Operators.300-3433570.en.html You guys MUST must include this in the documentation. Tim ******************************************** Tim Nevels Innovative Solutions 785-749-3444 [email protected] ******************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

