Re: [fpc-pascal] Vehicle management

2017-05-08 Thread Graeme Geldenhuys
On 2017-05-07 19:33, Mark Morgan Lloyd wrote: > Can anybody give me a quick summary of the position of FPC on Android > etc.? (Graeme, that includes FPCgui if it's relevant). Referring to small devices... Android support for fpGUI is in the works for some 2-3 weeks now by another developer. You

Re: [fpc-pascal] machine readable grammar of object pascal?

2017-05-08 Thread Graeme Geldenhuys
On 2017-05-08 04:26, nore...@z505.com wrote: > which is like a variable, but called a const ;-) I'm slowly but surely loosing all hope for Object Pascal. The language is becoming more and more mangled with every new release of Delphi and FPC. Regards, Graeme

Re: [fpc-pascal] SimpleIPC examples in docs

2017-05-08 Thread Graeme Geldenhuys
On 2017-05-08 06:17, nore...@z505.com wrote: > Can't seem to find them in the current docs. In the fpGUI repository there are a few examples of SimpleIPC usage. The examples/apps/nanoedit/ uses it. The examples/apps/debugserver/ uses it. I think the examples/apps/ide/ also uses it. All non-LCL by

Re: [fpc-pascal] SimpleIPC examples in docs

2017-05-08 Thread Michael Van Canneyt
On Mon, 8 May 2017, nore...@z505.com wrote: I thought I remember some simpleipc examples in the documentation a while ago (years ago).. Can't seem to find them in the current docs. You are probably talking about the ipc examples of the unix unit. Were they moved elsewhere or did I miss

Re: [fpc-pascal] Record operator for assignment

2017-05-08 Thread Jürgen Hestermann
Am 2017-05-08 um 05:47 schrieb nore...@z505.com: > It's similar to this feature: > x,y,z := 1, 12, 7 > It's neat to be able to assign multiple variables on a single line. But necessary? mandatory? It's not even neat. It would bloat the Pascal language unneccesarily (as many other additions have

Re: [fpc-pascal] SimpleIPC examples in docs

2017-05-08 Thread noreply
On 2017-05-08 03:27, Graeme Geldenhuys wrote: In the fpGUI repository there are a few examples of SimpleIPC usage. The examples/apps/nanoedit/ uses it. That is Cool! Might fork this project on github and create NanoPlug with a small plugin system. Had a NotePlug prototype years ago that I

Re: [fpc-pascal] SimpleIPC examples in docs

2017-05-08 Thread Graeme Geldenhuys
On 2017-05-08 10:13, nore...@z505.com wrote: >> In the fpGUI repository there are a few examples of SimpleIPC >> usage. The examples/apps/nanoedit/ uses it. > > That is Cool! Might fork this project on github and create NanoPlug with hehehe... It seems there is a big demand for a simple and

Re: [fpc-pascal] simpleIPC strings

2017-05-08 Thread Michael Van Canneyt
On Mon, 8 May 2017, nore...@z505.com wrote: With simpleipc you can send a string. I am wondering what type of string is safe to send? i.e. what happens with utf8 or unicode? If both sender and receiver use the same defaultsystemcodepage, it should transfer fine. Is it meant to send a

Re: [fpc-pascal] simpleIPC for all programming languages ?

2017-05-08 Thread Michael Van Canneyt
On Sun, 7 May 2017, nore...@z505.com wrote: Then some small questions arise: is it possible to statically link fpc code into other programs rather than it being a DLL? for example .a files instead of a dll at runtime? Then theoretically, IPC could be linked in statically, not just as a

Re: [fpc-pascal] SimpleIPC examples in docs

2017-05-08 Thread Graeme Geldenhuys
On 2017-05-08 06:17, nore...@z505.com wrote: > Or there > could already be an examples feature in the docs that I don't know > about. fpdoc already supports "Examples" for some years now - I use it very often in fpGUI and tiOPF's class documentation. A index of all help topics that contain

Re: [fpc-pascal] Vehicle management

2017-05-08 Thread Mark Morgan Lloyd
On 08/05/17 08:30, Graeme Geldenhuys wrote: On 2017-05-07 19:33, Mark Morgan Lloyd wrote:> Can anybody give me a quick summary of the position of FPC on Android > etc.? (Graeme, that includes FPCgui if it's relevant). Referring to small devices... Android support for fpGUI is in the works for

Re: [fpc-pascal] machine readable grammar of object pascal?

2017-05-08 Thread Mattias Gaertner
On Mon, 8 May 2017 09:22:48 +0100 Graeme Geldenhuys wrote: > On 2017-05-08 04:26, nore...@z505.com wrote: > > which is like a variable, but called a const ;-) > > I'm slowly but surely loosing all hope for Object Pascal. The language > is becoming more and more

Re: [fpc-pascal] machine readable grammar of object pascal?

2017-05-08 Thread Michael Van Canneyt
On Mon, 8 May 2017, Mattias Gaertner wrote: On Mon, 8 May 2017 09:22:48 +0100 Graeme Geldenhuys wrote: On 2017-05-08 04:26, nore...@z505.com wrote: > which is like a variable, but called a const ;-) I'm slowly but surely loosing all hope for Object Pascal.

Re: [fpc-pascal] SimpleIPC examples in docs

2017-05-08 Thread noreply
On 2017-05-08 03:27, Graeme Geldenhuys wrote: On 2017-05-08 06:17, nore...@z505.com wrote: Can't seem to find them in the current docs. In the fpGUI repository there are a few examples of SimpleIPC usage. The examples/apps/nanoedit/ uses it. The examples/apps/debugserver/ uses it. I think

Re: [fpc-pascal] machine readable grammar of object pascal?

2017-05-08 Thread Graeme Geldenhuys
On 2017-05-08 09:49, Mattias Gaertner wrote: > Was a typed const ever read only? And does CONSTANT in any other language mean writable? I think they have VAR for that. Maybe it's just the terminology used in FPC. Regards, Graeme ___ fpc-pascal

Re: [fpc-pascal] machine readable grammar of object pascal?

2017-05-08 Thread Mark Morgan Lloyd
On 08/05/17 08:30, Graeme Geldenhuys wrote: On 2017-05-08 04:26, nore...@z505.com wrote:> which is like a variable, but called a const ;-) I'm slowly but surely loosing all hope for Object Pascal. The languageis becoming more and more mangled with every new release ofDelphi and FPC. I'm not

Re: [fpc-pascal] machine readable grammar of object pascal?

2017-05-08 Thread Michael Van Canneyt
On Mon, 8 May 2017, Graeme Geldenhuys wrote: On 2017-05-08 09:49, Mattias Gaertner wrote: Was a typed const ever read only? And does CONSTANT in any other language mean writable? I think they have VAR for that. Maybe it's just the terminology used in FPC. This is not something invented

Re: [fpc-pascal] SimpleIPC examples in docs

2017-05-08 Thread noreply
On 2017-05-08 03:40, Graeme Geldenhuys wrote: On 2017-05-08 06:17, nore...@z505.com wrote: Or there could already be an examples feature in the docs that I don't know about. fpdoc already supports "Examples" for some years now - I use it very often in fpGUI and tiOPF's class documentation.

Re: [fpc-pascal] SimpleIPC examples in docs

2017-05-08 Thread Michael Van Canneyt
On Mon, 8 May 2017, nore...@z505.com wrote: On 2017-05-08 03:40, Graeme Geldenhuys wrote: On 2017-05-08 06:17, nore...@z505.com wrote: Or there could already be an examples feature in the docs that I don't know about. fpdoc already supports "Examples" for some years now - I use it very

Re: [fpc-pascal] machine readable grammar of object pascal?

2017-05-08 Thread Marco van de Voort
In our previous episode, Michael Van Canneyt said: > > This is not something invented by FPC. > It is something inherited from Turbo Pascal. And Delphi up to D4 iirc. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] machine readable grammar of object pascal?

2017-05-08 Thread Jürgen Hestermann
Am 2017-05-08 um 12:31 schrieb Marco van de Voort: In our previous episode, Michael Van Canneyt said: This is not something invented by FPC. It is something inherited from Turbo Pascal. And Delphi up to D4 iirc. Delphi inherited it from Turbo Pascal. Actually, it was a hack. Const defines end

Re: [fpc-pascal] Call for testing: array constructors

2017-05-08 Thread Sven Barth via fpc-pascal
Am 08.05.2017 18:25 schrieb "Mattias Gaertner" : > > On Fri, 5 May 2017 00:06:25 +0200 > Sven Barth via fpc-pascal wrote: > > >[...] > > Since revision 36105 FPC now supports the use of array constructors > > using the "[...]" syntax

Re: [fpc-pascal] Vehicle management

2017-05-08 Thread Mark Morgan Lloyd
On 08/05/17 18:30, Felipe Monteiro de Carvalho wrote: On Sun, May 7, 2017 at 8:33 PM, Mark Morgan Lloyd wrote:> Can anybody give me a quick summary of the position of FPC on Android etc.? Works fine like via JNI, you can do most stuff in Pascal using JNI

Re: [fpc-pascal] Vehicle management

2017-05-08 Thread Mark Morgan Lloyd
On 08/05/17 16:00, wkitt...@windstream.net wrote: as it is GPL, source code availability is required... that author has no choice but to supply it... Yes, but it looks as though he's been asked in the past and has claimed that "it needed tidying up": that was a couple of years ago. However

Re: [fpc-pascal] Vehicle management

2017-05-08 Thread wkitty42
On 05/08/2017 12:09 PM, Mark Morgan Lloyd wrote: On 08/05/17 16:00, wkitt...@windstream.net wrote: as it is GPL, source code availability is required... that author has no choice but to supply it... Yes, but it looks as though he's been asked in the past and has claimed that "it needed

Re: [fpc-pascal] Vehicle management

2017-05-08 Thread Felipe Monteiro de Carvalho
On Sun, May 7, 2017 at 8:33 PM, Mark Morgan Lloyd wrote: > Can anybody give me a quick summary of the position of FPC on Android etc.? Works fine like via JNI, you can do most stuff in Pascal using JNI but part still needs to be in Java. some info here:

Re: [fpc-pascal] Vehicle management

2017-05-08 Thread wkitty42
On 05/07/2017 02:33 PM, Mark Morgan Lloyd wrote: Has anybody used FPC to talk to a vehicle via the OBD connector? Can anybody give me a quick summary of the position of FPC on Android etc.? (Graeme, that includes FPCgui if it's relevant). We've been caught short by a vehicle problem that

Re: [fpc-pascal] Call for testing: array constructors

2017-05-08 Thread Sven Barth via fpc-pascal
Am 08.05.2017 16:34 schrieb "Mark Morgan Lloyd" < markmll.fpc-pas...@telemetry.co.uk>: > > On 04/05/17 22:30, Sven Barth via fpc-pascal wrote: >> >> Hello together! >> Since revision 36105 FPC now supports the use of array constructorsusing the "[...]" syntax inside ordinary code blocks like

Re: [fpc-pascal] machine readable grammar of object pascal?

2017-05-08 Thread wkitty42
On 05/08/2017 04:49 AM, Mattias Gaertner wrote: On Mon, 8 May 2017 09:22:48 +0100 Graeme Geldenhuys wrote: On 2017-05-08 04:26, nore...@z505.com wrote: which is like a variable, but called a const ;-) I'm slowly but surely loosing all hope for Object Pascal.

Re: [fpc-pascal] Call for testing: array constructors

2017-05-08 Thread Mattias Gaertner
On Fri, 5 May 2017 00:06:25 +0200 Sven Barth via fpc-pascal wrote: >[...] > Since revision 36105 FPC now supports the use of array constructors > using the "[...]" syntax inside ordinary code blocks like Delphi does > since - I think - XE8. And yes, even nested

Re: [fpc-pascal] Call for testing: array constructors

2017-05-08 Thread Mark Morgan Lloyd
On 04/05/17 22:30, Sven Barth via fpc-pascal wrote: Hello together! Since revision 36105 FPC now supports the use of array constructorsusing the "[...]" syntax inside ordinary code blocks like Delphi doessince - I think - XE8. And yes, even nested ones are supported (take alook at

Re: [fpc-pascal] Vehicle management

2017-05-08 Thread Mark Morgan Lloyd
On 08/05/17 14:30, Paul Breneman wrote: On 05/08/2017 09:11 AM, Mark Morgan Lloyd wrote:...> It's on the manufacturer-specific pins. The specs are NOT freely> available, and if the description I've seen so far is to be believed the> comms run at 800 bps.> Thanks for the *education* Mark on

Re: [fpc-pascal] Vehicle management

2017-05-08 Thread Paul Breneman
On 05/08/2017 09:11 AM, Mark Morgan Lloyd wrote: ... It's on the manufacturer-specific pins. The specs are NOT freely available, and if the description I've seen so far is to be believed the comms run at 800 bps. Thanks for the *education* Mark on "manufacturer-specific pins". I just did a

Re: [fpc-pascal] Vehicle management

2017-05-08 Thread Paul Breneman
On 05/08/2017 04:48 AM, Mark Morgan Lloyd wrote: ... Thanks Graeme (and others, please keep commenting). This is something niche, for a specific vehicle (Range Rover P38 EAS unlock etc.), but could still be a nice little showcase program. One odd thing is that the physical interface is

Re: [fpc-pascal] Vehicle management

2017-05-08 Thread Mark Morgan Lloyd
On 08/05/17 13:00, Paul Breneman wrote: On 05/08/2017 04:48 AM, Mark Morgan Lloyd wrote:...>> Thanks Graeme (and others, please keep commenting).>> This is something niche, for a specific vehicle (Range Rover P38 EAS> unlock etc.), but could still be a nice little showcase program.>> One odd

Re: [fpc-pascal] Call for testing: array constructors

2017-05-08 Thread Jonas Maebe
On 08/05/17 17:34, Sven Barth via fpc-pascal wrote: Good to know. Any regressions with ordinary sets? There seems to be a problem with overload selection between dynamic and open arrays for empty array parameters: https://bugs.freepascal.org/view.php?id=31756 Jonas