Summary I’m regularly downloading a couple of files. Not to slowdown my 4DOffice.app I start a process and send this process a list of URLs to be downloaded, and might add to this list further URLs while that process is still running. Lots of code to ensure the communication. These days I tried a WORKER-process […]
Beiträge der Kategorie Code:
Convert value
Summary Every now and then I need to deliver a value. Something like this: $myText:=$myOtherText. Sometimes those datatypes might be different like this: $myText:=$myDate. Not really a problem, make that date a string. Probably test first, if a pointer is not Nil and which kind of datatype the object is besides following my naming convention. […]
Okt.-Werkstatt mit Thomas Maul
4Dmethod veranstaltete Ende August einen Google-Hangout mit Thomas Maul: August 31st Meeting – Messaging with 4D v16 Hier die Aufzeichnung auf YouTube zum – unbedingt – vorweg ansehen und überdenken, was die Neuerung der V16 für die eigene Anwendung bedeuten. Für unsere Herbst-Werkstatt.nord am 19. Oktober, konnte ich Thomas Maul gewinnen, uns unsere Fragen zum Themenkomplex V16 CALL […]
Parse textfiles
Summary Sometimes, importing hundreds of files with millions of lines of text, will take too much time. Maybe the parsing-technique could be enhanced to make that faster. Here is my code, that I do put into a compiled component, to achieve a faster text-parse, even while developing. If this code is faster than yours; I’d […]
Messing up with attributes
Summary While we had the productivity plugins we also had a helpful API. Take 4D Write as example. When I want to get or set the document-info, there was one command WR GET/SET DOCUMENT INFO ( area ; title ; subject ; author ; company ; notes ; creationDate ; creationTime ; modifDate ; modifTime […]
Mixing SVG-images
Summary 4D introduced SVG with V11, which was in 2007. Long ago. Still SVG didn’t get a stronghold in the 4D community. Partly it’s really confusing, what SVG actually is, besides an XML-tree to represent a drawing. The confusion gets even worse concerning 4Ds mixing and matching techniques to work with SVG. I’ve described that […]
[4D Write]Important advice
Summary In case you missed this advice from 4D-forum 4D Write – don\’t forget Picture->Blob migration, please follow the advice. Immediately! Falls Ihnen dieser Ratschlag im 4D-forum 4D Write – don\’t forget Picture->Blob migration entgangen sein sollte, bitte genau das tun. Sofort! english preferred Ich würde es etwas anders organisieren. Mein Vorschlag: Ich habe kleine […]
[Charts] keep it simple
Summary When 4D was new, the charts 4D could draw where state of the art. The state of the art has left 4Ds charting capabilities behind, long ago. Although I find the new approach of 4D-charting as of 64-bit V15 charming, I need something simple. Much simpler as Highcharts, Plotly, you name them. And of […]
[64-bit] more headroom for memory-leaks
Summary I don’t need no 64-bit, neither 4D-standalone nor 4D Client. We’ll never have that much data to process. These days I was wondering, why my 4D-standalone occupied 8 GB of the available 16 GB of RAM. Turned out, my code was leaking memory. Ich brauche keine 64-Bit, weder in 4D Einzelplatz noch im 4D […]
Formulare zoomen
Summary New guest contribution of Armin Deeg, who is glad to have found 08_Zoom Form of 4D World Tour 2015. His customers love to zoom the forms of his app Exposé for their convenience. Ein Gastbeitrag von Armin Deeg. Angeleitet von 08_Zoom Form aus der 4D World Tour 2015, hat er seine App Exposé um […]