Re: interesting find
Tim the problem is the compiler did not choke on the code and it seemed to worked compiled but did not work in source while testing Regards Chuck Sent from my iPhone > On Feb 21, 2019, at 10:45 AM, Randy Engle via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I seem to recall that in v1.x of 4D (or v2 when the compiler first showed > up), you could practically write in Swahili, and 4D would not complain. 😉 > > Every version since then, 4D has become less "forgiving" (or as Tim Says: > "smarter") > > Randy Engle > > -Original Message- > From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Timothy Penner via > 4D_Tech > Sent: Wednesday, February 20, 2019 4:31 PM > To: 4D iNug Technical <4d_tech@lists.4d.com> > Cc: Timothy Penner > Subject: RE: interesting find > > I have been telling people for years that the compiler gets smarter in each > new version. You may have a line of code that you thought was working, but in > fact, it shouldn’t have worked at all, and the compiler may not have caught > it before, but now it does. This is something I frequently tell people in TS > cases dating back multiple versions (I even told people this in v11). > > -Tim > > > > ** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ** > > ** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ** ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
RE: interesting find
I seem to recall that in v1.x of 4D (or v2 when the compiler first showed up), you could practically write in Swahili, and 4D would not complain. 😉 Every version since then, 4D has become less "forgiving" (or as Tim Says: "smarter") Randy Engle -Original Message- From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Timothy Penner via 4D_Tech Sent: Wednesday, February 20, 2019 4:31 PM To: 4D iNug Technical <4d_tech@lists.4d.com> Cc: Timothy Penner Subject: RE: interesting find I have been telling people for years that the compiler gets smarter in each new version. You may have a line of code that you thought was working, but in fact, it shouldn’t have worked at all, and the compiler may not have caught it before, but now it does. This is something I frequently tell people in TS cases dating back multiple versions (I even told people this in v11). -Tim ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com ** ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
RE: interesting find
I have been telling people for years that the compiler gets smarter in each new version. You may have a line of code that you thought was working, but in fact, it shouldn’t have worked at all, and the compiler may not have caught it before, but now it does. This is something I frequently tell people in TS cases dating back multiple versions (I even told people this in v11). -Tim ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: interesting find
I have noticed the compiler in v17 is significantly better at flagging little errors like that. And a lot of others. There were some wonky things in a database I converted which is in active use, compiled, all vars typed. I thought v17 must have corrupted the code somehow because I just didn't think the things I saw could have been there before. But it turned out it had been there for several years - I found it in exported method files going back several years in some cases. Not really a bad thing. Surprising sometimes. On Wed, Feb 20, 2019 at 10:02 AM Chuck Miller via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I have found something in v17 that I did not think would work > > I have a method which is always passed a pointer. I made a mistake way > back when in v15 > > The compiler declaration is c_pointer (method;$1) while in the method it > was c_text. What is strange is that it has worked in v15 but in 17 it > throws an error as I would have expected. Hope this helps someone else. > > The compiler does not choke on this > > Regards > > Chuck > > > Chuck Miller Voice: (617) 739-0306 > Informed Solutions, Inc. Fax: (617) 232-1064 > mailto:cjmillerinformed-solutions.com > Brookline, MA 02446 USA Registered 4D Developer >Providers of 4D and Sybase connectivity > http://www.informed-solutions.com > > > This message and any attached documents contain information which may be > confidential, subject to privilege or exempt from disclosure under > applicable law. These materials are intended only for the use of the > intended recipient. If you are not the intended recipient of this > transmission, you are hereby notified that any distribution, disclosure, > printing, copying, storage, modification or the taking of any action in > reliance upon this transmission is strictly prohibited. Delivery of this > message to any person other than the intended recipient shall not > compromise or waive such confidentiality, privilege or exemption from > disclosure as to this communication. > > ** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ** -- Kirk Brooks San Francisco, CA === What can be said, can be said clearly, and what you can’t say, you should shut up about *Wittgenstein and the Computer * ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
interesting find
I have found something in v17 that I did not think would work I have a method which is always passed a pointer. I made a mistake way back when in v15 The compiler declaration is c_pointer (method;$1) while in the method it was c_text. What is strange is that it has worked in v15 but in 17 it throws an error as I would have expected. Hope this helps someone else. The compiler does not choke on this Regards Chuck Chuck Miller Voice: (617) 739-0306 Informed Solutions, Inc. Fax: (617) 232-1064 mailto:cjmillerinformed-solutions.com Brookline, MA 02446 USA Registered 4D Developer Providers of 4D and Sybase connectivity http://www.informed-solutions.com This message and any attached documents contain information which may be confidential, subject to privilege or exempt from disclosure under applicable law. These materials are intended only for the use of the intended recipient. If you are not the intended recipient of this transmission, you are hereby notified that any distribution, disclosure, printing, copying, storage, modification or the taking of any action in reliance upon this transmission is strictly prohibited. Delivery of this message to any person other than the intended recipient shall not compromise or waive such confidentiality, privilege or exemption from disclosure as to this communication. ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **