Re: [fpc-pascal] Virtual object methods

2019-06-28 Thread Marco van de Voort
Op 27/06/2019 om 23:56 schreef Ryan Joseph: On Jun 27, 2019, at 5:53 PM, Ben Grasset wrote: If you specifically need inheritance (combined with virtual methods) you should probably just use classes, because doing it with objects will require heap allocation regardless. Heap allocate how

Re: [fpc-pascal] Developing a mini ERP / web based development

2019-06-28 Thread Michael Van Canneyt
On Fri, 28 Jun 2019, Michael Van Canneyt wrote: The demo's that were compiled, I tried to open locally and from the cgi-bin folder, but no succes. For instance the demobar example only shows: TChartJS Create bar charts using Pas2JS & ChartJS (view source ) It works here. What do you

[fpc-pascal] Wiki: platform defines

2019-06-28 Thread Alexey Tor.
https://wiki.freepascal.org/Platform_defines#Operating_system_defines I 've added all defines of OS. You can tell me if it's not ok. Missed one item: 'nativent' target. Seems some Win32 target? why new? Why it don't have extradefines "windows"?

Re: [fpc-pascal] Wiki: platform defines

2019-06-28 Thread Sven Barth via fpc-pascal
Alexey Tor. schrieb am Fr., 28. Juni 2019, 12:16: > https://wiki.freepascal.org/Platform_defines#Operating_system_defines > > I 've added all defines of OS. You can tell me if it's not ok. Missed > one item: 'nativent' target. Seems some Win32 target? why new? Why it > don't have extradefines

Re: [fpc-pascal] String conversions

2019-06-28 Thread Martok
> Yes indeed. FPC already has an overwhelming amount of string types. As I said > though a SetCapacity option for growing would be nice (for dynamic arrays > also) because += is such a common operation. As it stands I often don’t use > dynamic arrays (and now ansistring) because of growing

Re: [fpc-pascal] String conversions

2019-06-28 Thread Zoë Peterson
On 6/28/2019 3:07 PM, Ryan Joseph wrote: On Jun 28, 2019, at 3:40 PM, Martok wrote: So, I would expect (and FastMM has codepaths for that), that repeated reallocations cause some form of "over-allocating" growth and most of the individual "+1" reallocs will be essentially no-ops. Interesting.

Re: [fpc-pascal] String conversions

2019-06-28 Thread Ryan Joseph
> On Jun 28, 2019, at 3:40 PM, Martok wrote: > > So, I would expect (and FastMM has codepaths for that), that repeated > reallocations cause some form of "over-allocating" growth and most of the > individual "+1" reallocs will be essentially no-ops. Interesting. How could we test this to see

Re: [fpc-pascal] Fpc for ARM HF

2019-06-28 Thread Jonas Maebe
On 25/06/2019 03:03, Fabio Luis Girardi wrote: > Someone knows why, programs > compiled to ARM HF target have to be linked with libc to be displayed by > readelf -a as a ARM HF binary? > > If the program isn't linked with libc, it's displayed as ARM soft float > by readelf. Someone have a

Re: [fpc-pascal] Developing a mini ERP / web based development

2019-06-28 Thread Zamrony P. Juhara via fpc-pascal
Live example of https://github.com/fanoframework/fano-app when deploy and setup correctly with web server can be access here  https://fano.juhara.id/ So you will be able to access for example https://fano.juhara.id/hello/darius or https://fano.juhara.id/hello/darius/json  (JSON output) Unless you

Re: [fpc-pascal] Developing a mini ERP / web based development

2019-06-28 Thread Zamrony P. Juhara via fpc-pascal
Hi Darius, I am author of Fano Framework. I encourage people to try Fano Framework, but as of now, I would not advise you to use it on production setup. While many of web framework features are already built, they have not been tested on production. The error Exception class : 

Re: [fpc-pascal] Free Pascal console programs on Android are easy

2019-06-28 Thread Paul Breneman
On 7/5/2018 7:57 AM, Paul Breneman wrote: On 06/20/2018 12:01 PM, Paul Breneman wrote: On 06/04/2017 08:00 AM, Paul Breneman wrote: On 05/09/2014 07:06 PM, Paul Breneman wrote: On 03/24/2014 12:08 PM, Paul Breneman wrote: On 03/15/2014 07:33 PM, Paul Breneman wrote: ... My main specialty is