Re: [fpc-pascal] can the compiler zero any out parameter of procedure/function automatically?

2016-07-12 Thread vfclists .
On 11 July 2016 at 18:35, Dennis Poon wrote: > > > Jonas Maebe wrote: > >> Dennis wrote: >> >>> I know it is my responsibility to initialize out parameters, but I think >>> the compiler could help us by initializing all out parameters. >>> >> The compiler will fill

Re: [fpc-pascal] FPC 3 regression: cannot use TStringList for UTF-8 data any more?

2016-04-24 Thread vfclists .
Isn't some formality in these Unicode discussions called for? Use of everyday language to express things which can only be properly expressed and tested through source code is very confusing. Consider these few sentences by Mattias It depends. There are two codepages. The real one and the

Re: [fpc-pascal] Happy tickets benchmark

2016-03-01 Thread vfclists .
On 14 February 2016 at 10:06, Serguei TARASSOV wrote: > Hello, > > thank all for assistance! > > Sorry, I was not clear, the series should be ran with all tests _on the > same computer_ regardless its hardware capacity and on the _same OS_. > That's why I cannot compare with

[fpc-pascal] Is there some reason why the linker cannot find crti.o, crtn.o etc?

2015-06-29 Thread vfclists .
These messages come up almost always when I compile a project: Warning: crti.o not found, this will probably cause a linking failure templateSys.lpr(39,1) Warning: crtn.o not found, this will probably cause a linking failure. On a 32bit system the files are located in /usr/lib/i386-gnu and

Re: [fpc-pascal] Looking for JavaScript component on FPC

2015-04-01 Thread vfclists .
On 31 March 2015 at 22:06, Michael Van Canneyt mich...@freepascal.org wrote: On Tue, 31 Mar 2015, Andrew Brunner wrote: I am trying to integrate javascript for back-end support of cloud apps. I noticed the fcl-js package. Does anyone have an idea when we can expect to have a component

[fpc-pascal] Do the make commands have a way of listing the options and possible values for them?

2015-03-31 Thread vfclists .
The ./configure command used by a lot of unix programs can list the options and possible values for them. Do the make commands for Lazarus and FPC have such an option? -- Frank Church === http://devblog.brahmancreations.com ___

Re: [fpc-pascal] Do the make commands have a way of listing the options and possible values for them?

2015-03-31 Thread vfclists .
On 31 March 2015 at 15:28, vfclists . vfcli...@gmail.com wrote: On 31 March 2015 at 14:18, Jonas Maebe jonas.ma...@elis.ugent.be wrote: vfclists . wrote on Tue, 31 Mar 2015: The ./configure command used by a lot of unix programs can list the options and possible values for them

Re: [fpc-pascal] Do the make commands have a way of listing the options and possible values for them?

2015-03-31 Thread vfclists .
On 31 March 2015 at 14:18, Jonas Maebe jonas.ma...@elis.ugent.be wrote: vfclists . wrote on Tue, 31 Mar 2015: The ./configure command used by a lot of unix programs can list the options and possible values for them. Note that ./configure can only do this if someone explicitly added

[fpc-pascal] Which programs or packages do I need to cross compile for 64bit Linux on 32 bit Linux?

2015-03-30 Thread vfclists .
When I do 'make crossinstall OS_TARGET=linux CPU_TARGET=x86_64 INSTALL_PREFIX=$THIS_BUILD_DIR/fpc' on 32 bit Linux I get this error : 'x86_64-linux-as: Command not found'. Which packages or group of programs are missing on my system? -- Frank Church ===

[fpc-pascal] Does a single cross compiler for a CPU used for all operating systems?

2015-03-30 Thread vfclists .
Does a single cross compiler for a CPU used for all operating systems? eg ppcross386 is the cross compiler for i386. Is it the same compiler that would be used whether the target was a 32bit Linux, OS/X or Win32, with different linkers and libraries used for the final executable? -- Frank

[fpc-pascal] Does the basic make INSTALL create ppcross386

2015-03-29 Thread vfclists .
At some stage in the make INSTALL the installation stops with this message. /usr/bin/install -c -m 755 ppcross386 /home/user/lazarusBuildTesting/testbuild01/fpc/lib/fpc/3.1.1/ppcross386 /usr/bin/install: cannot stat `ppcross386': No such file or directory The script is adapted from the Codebot

Re: [fpc-pascal] Does the basic make INSTALL create ppcross386

2015-03-29 Thread vfclists .
On 29 March 2015 at 20:13, leledumbo leledumbo_c...@yahoo.co.id wrote: Does the basic make INSTALL create ppcross386 It works on a 64bit Ubuntu 14.04 system but fails when I try it on a 32bit Ubuntu 12.04 system. It's weird to ask something like this, assuming you've understood the build

Re: [fpc-pascal] Free Pascal and Lazarus Nightly Builds

2015-03-25 Thread vfclists .
On 13 March 2015 at 18:54, Anthony Walter sys...@gmail.com wrote: Okay, here is what was happening and I apologize for the confusion. Before the source files are updated each night, my script applies changes.diff the uploads the sources to an amazon s3 bucket (I pay for the bandwidth and

Re: [fpc-pascal] Mode Delphi and functions as parameters.

2015-03-23 Thread vfclists .
On 18 March 2015 at 14:49, vfclists . vfcli...@gmail.com wrote: I have recently compiled projects which were converted from Delphi and it seems to me that the passing a function as a parameter does not require the '@' symbol. I suspect syntax errors came because I wasn't compiling from

Re: [fpc-pascal] Where is the 'write' function defined and how is it different from 'writeln'?

2015-03-21 Thread vfclists .
On 20 March 2015 at 20:54, Sven Barth pascaldra...@googlemail.com wrote: On 20.03.2015 21:18, vfclists . wrote: On 20 March 2015 at 19:34, Sven Barth pascaldra...@googlemail.com mailto:pascaldra...@googlemail.com wrote: Am 20.03.2015 19:19 schrieb vfclists . vfcli...@gmail.com

Re: [fpc-pascal] Mode Delphi and functions as parameters.

2015-03-21 Thread vfclists .
On 21 March 2015 at 10:04, Constantine Yannakopoulos alfasud...@gmail.com wrote: On Fri, Mar 20, 2015 at 11:55 AM, Michael Schnell mschn...@lumino.de wrote: what to to if a function has no parameter and returns a value that is a pointer to a function of exactly this type ? ​The logical

Re: [fpc-pascal] Where is the 'write' function defined and how is it different from 'writeln'?

2015-03-21 Thread vfclists .
On 21 March 2015 at 11:35, Sven Barth pascaldra...@googlemail.com wrote: On 21.03.2015 11:13, vfclists . wrote: On 20 March 2015 at 20:54, Sven Barth pascaldra...@googlemail.com mailto:pascaldra...@googlemail.com wrote: On 20.03.2015 21:18, vfclists . wrote: On 20 March

Re: [fpc-pascal] Where is the 'write' function defined and how is it different from 'writeln'?

2015-03-20 Thread vfclists .
On 20 March 2015 at 18:01, leledumbo leledumbo_c...@yahoo.co.id wrote: Where is the 'write' function defined and how is it different from 'writeln'? I can see a lot of fpc_writeXXX and other Write functions, but no 'write' itself those fpc_writeXXX ARE the actual write. Write(Ln)

[fpc-pascal] Where is the 'write' function defined and how is it different from 'writeln'?

2015-03-20 Thread vfclists .
Where is the 'write' function defined and how is it different from 'writeln'? I can see a lot of fpc_writeXXX and other Write functions, but no 'write' itself -- Frank Church === http://devblog.brahmancreations.com ___

Re: [fpc-pascal] Where is the 'write' function defined and how is it different from 'writeln'?

2015-03-20 Thread vfclists .
On 20 March 2015 at 19:34, Sven Barth pascaldra...@googlemail.com wrote: Am 20.03.2015 19:19 schrieb vfclists . vfcli...@gmail.com: On 20 March 2015 at 18:01, leledumbo leledumbo_c...@yahoo.co.id wrote: Where is the 'write' function defined and how is it different from 'writeln

[fpc-pascal] Mode Delphi and functions as parameters.

2015-03-18 Thread vfclists .
I have recently compiled projects which were converted from Delphi and it seems to me that the passing a function as a parameter does not require the '@' symbol. I suspect syntax errors came because I wasn't compiling from the command line. e.g function AFunction() begin end;

Re: [fpc-pascal] Google Code closing down

2015-03-14 Thread vfclists .
Google Code now has an Export to Github version on the repository pages. It seemed to have popped out of nowhere and it must have been implemented while I was browsing or showed up when I dropped my Javascript blockers. -- Frank Church ===

[fpc-pascal] Is the current stable release of FPC 2.6.4 or 3.0.1?

2015-03-14 Thread vfclists .
Is the current stable release FPC 2.6.4 or 3.0.1? Is it actually 3.0.1? When I check this site - http://svn.freepascal.org/cgi-bin/viewvc.cgi/tags/ the last tag is release_2_6_4. Is that site for release versions only? Is there another location which as the 3.0 series among its tags? I don't

Re: [fpc-pascal] How do you build FPC?

2015-03-14 Thread vfclists .
On 14 March 2015 at 09:27, leledumbo leledumbo_c...@yahoo.co.id wrote: Do you have some FPC/Lazarus compilation scripts or sample fpc.cfg files you can share? The build script: build-fpc-cross-all.sh http://free-pascal-general.1045716.n5.nabble.com/file/n5721321/build-fpc-cross-all.sh

Re: [fpc-pascal] Free Pascal and Lazarus Nightly Builds

2015-03-13 Thread vfclists .
On 13 March 2015 at 18:54, Anthony Walter sys...@gmail.com wrote: Okay, here is what was happening and I apologize for the confusion. Before the source files are updated each night, my script applies changes.diff the uploads the sources to an amazon s3 bucket (I pay for the bandwidth and

Re: [fpc-pascal] How do you build FPC?

2015-03-13 Thread vfclists .
On 20 February 2015 at 15:40, leledumbo leledumbo_c...@yahoo.co.id wrote: FPC seems incredibly flexible and I'd like to take advantage of it on some other platforms but so far it looks like that is reserved for a wizard elite somewhere and nobody is saying how to get there. Other than the

Re: [fpc-pascal] How do you build FPC?

2015-03-13 Thread vfclists .
On 13 March 2015 at 15:09, Anthony Walter sys...@gmail.com wrote: Although it's not for the faint of heart, but you can follow this guide if you are determined to build it yourself: http://www.getlazarus.org/setup/making/ I have already checked that page. I want to see Leledumbo's scripts

Re: [fpc-pascal] Free Pascal and Lazarus Nightly Builds

2015-03-12 Thread vfclists .
On 3 March 2015 at 17:47, Anthony Walter sys...@gmail.com wrote: This is a public notice. Get Lazarus has switched from hosting arbitrary revisions to hosting setup programs from nightly builds. http://www.getlazarus.org/setup/ Going forward each night the current svn trunk sources of FPC

Re: [fpc-pascal] with statement using mulltiple objects

2014-09-15 Thread vfclists .
On 13 September 2014 20:29, vfclists . vfcli...@gmail.com wrote: On 13 September 2014 20:02, Sven Barth pascaldra...@googlemail.com wrote: On 13.09.2014 20:13, vfclists . wrote: According to the docs the with statement when used with mulltiple objects only works with the last parameter

[fpc-pascal] with statement using mulltiple objects

2014-09-13 Thread vfclists .
According to the docs the with statement when used with mulltiple objects only works with the last parameter. The statement With A,B,C,D do Statement; is equivalent to With A do With B do With C do With D do Statement; -- I thought that if all the objects have the property the

Re: [fpc-pascal] with statement using mulltiple objects

2014-09-13 Thread vfclists .
On 13 September 2014 20:02, Sven Barth pascaldra...@googlemail.com wrote: On 13.09.2014 20:13, vfclists . wrote: According to the docs the with statement when used with mulltiple objects only works with the last parameter. The statement With A,B,C,D do Statement; is equivalent

[fpc-pascal] Is there an industry language for specifying for declaring GUIs in JSON?

2013-12-01 Thread vfclists .
Are there some industry standards for specifying GUIs in JSON? Something which can specify the type of elements like edit controls, buttons, the positions etc, and draw stuff like squares, triangles, boxes etc? It doesn't have to be an official standard, but have widespread use to make it easier

[fpc-pascal] Graeme would love this, or not, I think

2013-10-14 Thread vfclists .
You couldn't make this up. Is it a joke or not? Department of Basic Education bans Free and Open Source Software in SA Schools and mandates programming an ancient, moribund language in contradiction of government's own policy http://twitter.com/share

[fpc-pascal] Re: Graeme would love this, or not, I think

2013-10-14 Thread vfclists .
I suspect is its a trick to introduce Linux by the back door. If their Delphi programs can easily be switched to Lazarus the software will be easy to convert to Linux and the Mac On 11 October 2013 20:18, vfclists . vfcli...@gmail.com wrote: You couldn't make this up. Is it a joke

Re: [fpc-pascal] Re: [Lazarus] Should TObject or TComponent have a Comment property?

2013-07-16 Thread vfclists .
On 15 July 2013 22:58, Kenneth Cochran kenneth.coch...@gmail.com wrote: I completely disagree. It is the code that is the primary expression of intent not the comments. This is mainly accomplished through sensible identifier naming. Comments exist to compensate for a developer's inability

[fpc-pascal] Re: [Lazarus] Should TObject or TComponent have a Comment property?

2013-07-12 Thread vfclists .
On 11 July 2013 23:07, Benito van der Zander ben...@benibela.de wrote: Annotations like in Java would be nice... On 07/11/2013 10:22 PM, vfclists . wrote: Should TObject or TComponent have a Comment property? I think they should. One for the design itself and one for describing

Re: [fpc-pascal] Re: [Lazarus] Should TObject or TComponent have a Comment property?

2013-07-12 Thread vfclists .
On 12 July 2013 09:09, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: On 2013-07-12 07:07, vfclists . wrote: Coding time is the best time for documentation because that is when the intent of the code is clear and fresh in the developers mind, and incurs minimal additional cost

[fpc-pascal] Should TObject or TComponent have a Comment property?

2013-07-11 Thread vfclists .
Should TObject or TComponent have a Comment property? I think they should. One for the design itself and one for describing the usage at design or runtime. Smalltalk has it. Consider it a version of the Hint property but for the developer -- Frank Church ===

[fpc-pascal] Examples of tiOPF logging in the wild

2013-05-16 Thread vfclists .
Are there some examples of using tiOPF logging besides those in the demos? I want to use tiLogToGUI, but I am not happy with the amount of screen space it takes. Is there some way it can be adapted or themed to be tidier or smaller? The code gives the impression that it can be embedded or

[fpc-pascal] RAD Studio XE4 Released?

2013-04-23 Thread vfclists .
http://www.h-online.com/developer/news/item/RAD-Studio-XE4-focuses-on-cross-platform-apps-1848176.html http://www.embarcadero.com/press-releases/embarcadero-technologies-unveils-multi-device-true-native-app-development-suite -- Frank Church ===