Re: All folders hidden in Apppackage/AppFolder...

2019-12-17 Thread Jeremy Roussak via 4D_Tech
Jörg, Mac or Windows? Jeremy > On 17 Dec 2019, at 12:18, Jörg Knebel via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > G’day All, > > Out of curiosity, what effect would it have if I decide to hide all folders > in the application package/folder and even the data-file programmatically > from

Re: lags

2019-12-17 Thread stardata.info via 4D_Tech
Hi Chip, Thanks for suggestions. /Ferdinando/ Il 16/12/19 23:17, Chip Scheide ha scritto: Fernando, get v13.6 here (windows) : https://download.4d.com/Products/Archives/Line_v13/4D_v13_6/Win/ here (Mac) : https://download.4d.com/Products/Archives/Line_v13/4D_v13_6/Mac/ no promise that it

Re: All folders hidden in Apppackage/AppFolder...

2019-12-17 Thread Chip Scheide via 4D_Tech
Jorg, if by 'hide', you mean make them invisible (as in adding a '.' to the file & folder names) well... then you are changing the names of the various files and folders that 4D is expecting to be in place... so that will not work. If you mean using 4D, or other means, to set the invisible bit

Re: XML Null reference with DOM Find XML element

2019-12-17 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Koen, Thanks for he snippet >> Hi Piotr, >> I have a small method DOM_validRef which basically uses this test: >> if(Replace string($ref;"0";"")="") >> $valid:=false >> end if >> 64bit indeed uses 32 zero chars instad of 16, but this code handles both >> situations (and future ones, if we

Re: XML Null reference with DOM Find XML element

2019-12-17 Thread Koen Van Hooreweghe via 4D_Tech
Hi Piotr, I have a small method DOM_validRef which basically uses this test: if(Replace string($ref;"0";"")="") $valid:=false end if 64bit indeed uses 32 zero chars instad of 16, but this code handles both situations (and future ones, if we live long enough to make the transiton to 128bit

Re: XML Null reference with DOM Find XML element

2019-12-17 Thread Narinder Chandi via 4D_Tech
Piotr, Hi. That seems like the expected behaviour according to the docs: https://doc.4d.com/4Dv17/4D/17.3/Overview-of-XML-DOM-Commands.300-4620648.en.html "Error Handling Many functions in this theme return an XML element reference. If an error occurs during function execution (for example,

XML Null reference with DOM Find XML element

2019-12-17 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, 4Dv17R6, Windows 64-bit What is the best way to test if a XML DOM element is a Null reference? Especially when using DOM Find XML element? The docs say “If the command has been executed correctly, the system variable OK is set to 1” Does it mean “if the command finds an element”? Finding