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

2014-03-15 Thread Paul Breneman
On 03/15/2014 07:33 PM, Paul Breneman wrote: ... >>> http://turbocontrol.com/gnuroot.htm is a new (unpublished) web page. Feedback appreciated! Thanks for the feedback. My main specialty is communication software ( www.turbocontrol.com/APro.htm ), so right now that is what I'm working on. I h

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

2014-03-15 Thread Paul Breneman
On 03/15/2014 04:59 PM, Sandro Cumerlato wrote: Really interesting! Please fix typo: "chmod 755 ppcaarm" should be "chmod 755 ppcarm". I hope to see a GUI Hello World soon. Sandro On 15 Mar 2014 19:47, "Paul Breneman" wrote: http://turbocontrol.com/gnuroot.htm is a new (unpublished) web pag

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

2014-03-15 Thread Sandro Cumerlato
Really interesting! Please fix typo: "chmod 755 ppcaarm" should be "chmod 755 ppcarm". I hope to see a GUI Hello World soon. Sandro On 15 Mar 2014 19:47, "Paul Breneman" wrote: > http://turbocontrol.com/gnuroot.htm is a new (unpublished) web page. > Feedback appreciated! >

Re: [fpc-pascal] nested inline

2014-03-15 Thread Sven Barth
On 15.03.2014 13:33, leledumbo wrote: fpc -alnrt and check the generated assembly yourself -al is enough for checking this. Regards, Sven ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listin

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

2014-03-15 Thread silvioprog
2014-03-15 15:39 GMT-03:00 Paul Breneman : > http://turbocontrol.com/gnuroot.htm is a new (unpublished) web page. > Feedback appreciated! Nice! Can you compile Brook framework* in your tool checking if it is compatible with ARM? Thank you! * - http://silvioprog.github.io/brookframework/ -- Si

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

2014-03-15 Thread Paul Breneman
http://turbocontrol.com/gnuroot.htm is a new (unpublished) web page. Feedback appreciated! ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] dynamic array reference count

2014-03-15 Thread Michael Van Canneyt
On Sat, 15 Mar 2014, Xiangrong Fang wrote: Thanks, this is important to know! The latest version of the docs mentions this explicitly: http://www.freepascal.org/docs-html/ref/refsu18.html#x42-460003.3.1 Michael. ___ fpc-pascal maillist - fpc-pa

Re: [fpc-pascal] dynamic array reference count

2014-03-15 Thread Xiangrong Fang
​Thanks, this is important to know!​ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] dynamic array reference count

2014-03-15 Thread Jürgen Hestermann
Am 2014-03-15 15:06, schrieb Xiangrong Fang: > I just want to confirm one thing: > var > a, b: array of Integer; > begin > SetLength(a, 100); > SetLength(b, 100); > a := b; > end. > Now "a" will point to the same memory block as "b". Since dynamic arrays are ref counted, > I don't need to

[fpc-pascal] dynamic array reference count

2014-03-15 Thread Xiangrong Fang
Hi there, I just want to confirm one thing: var a, b: array of Integer; begin SetLength(a, 100); SetLength(b, 100); a := b; end. Now "a" will point to the same memory block as "b". Since dynamic arrays are ref counted, I don't need to worry about the memory originally allocated for "a",

Re: [fpc-pascal] nested inline

2014-03-15 Thread leledumbo
fpc -alnrt and check the generated assembly yourself -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/nested-inline-tp5718612p5718615.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fp

Re: [fpc-pascal] Library.StringFunction() : PChar => NO

2014-03-15 Thread Fred van Stappen
> I thought that it was mentioned there somewhere already... > If nit feel free to add it. That's what a wiki is good for afterall. ^^ Done. => http://wiki.freepascal.org/shared_library Many thanks Sven. ___ fp

Re: [fpc-pascal] Library.StringFunction() : PChar => NO

2014-03-15 Thread Fred van Stappen
>I thought that it was mentioned there somewhere already... > If nit feel free to add it. That's what a wiki is good for afterall. ^^ Hum, never seen... I will add it ASAP ;-) > You don't need the MyString variable, you can simply use > AStringClass.SomeText. => OK > And you should definitel

[fpc-pascal] nested inline

2014-03-15 Thread Xiangrong Fang
Hi All, Is nested inline allowed? i.e. will the compiler generate inlined code for the following source: procedure a; inline; begin end; procedure b; inline; begin a; end; if I call b() in the main program, will the compile copy code for both a and b to avoid function calls? Thanks, Xiangron

Re: [fpc-pascal] procedure modifiers

2014-03-15 Thread Michael Van Canneyt
On Sat, 15 Mar 2014, Xiangrong Fang wrote: Hi All, I wonder where should I put procedure modifiers, in the interface section, or implementation section, or both? e.g. interface function test(data: Integer): Integer; inline; <-- here? Interface is the place where you should put them for s

[fpc-pascal] procedure modifiers

2014-03-15 Thread Xiangrong Fang
Hi All, I wonder where should I put procedure modifiers, in the interface section, or implementation section, or both? e.g. interface function test(data: Integer): Integer; inline; <-- here? implementation function test(data: Integer): Integer; inline; <-- here? begin //.. end; Thanks, Xi