4D v17R4 2323298 64bit Remote
At the end of my startup method Menubar 1 is displayed.
On some client machines the menu items are not “active”. When selected they do
not run the assigned method.
On other client machines running the same application at the same time, all
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
Thanks Arnaud !
Very useful indeed. Bruno has been very productive in this area.
> On 20 Feb 2019, at 22:19, Arnaud de Montard via 4D_Tech
> <email@example.com> wrote:
> You may be interested by 2 methods from Bruno Legay about epoch in the code
> sharing zone:
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
> Le 19 févr. 2019 à 23:51, Peter Jakobsson via 4D_Tech <firstname.lastname@example.org>
> a écrit :
> Actually I just realised this may be a timezone issue rather than a precision
> I’ve done it this way: [...]
You may be interested by 2 methods from Bruno Legay about epoch in the
Just killed a bunch of time trying to figure out why some menu actions were not
working for a host menu duplicated by a component. It turns out the "Associated
standard action" constant is duplicated with different values and 4D does not
use the same one in all cases.
John DeSoi, Ph.D.
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
> On 20 Feb 2019, at 01:29, Keisuke Miyako via 4D_Tech <email@example.com>
> $P_timeString:=String(Current date(*);ISO date GMT;Current time(*))
> does this not invoke 2 calls to the server in C/S mode?
Good point Miyako. (I stopped worrying about optimising for performance
Mail list logo