Re: [fpc-pascal] Including binary data making easy

2012-08-29 Thread Rainer Stratmann
Am Tuesday 28 August 2012 19:44:49 schrieb Sven Barth: On 28.08.2012 09:10, Jonas Maebe wrote: On 28 Aug 2012, at 09:03, Sven Barth wrote: On 27.08.2012 15:33, Rainer Stratmann wrote: Am Monday 23 March 2009 15:51:24 schrieb Jonas Maebe: Rainer Stratmann wrote on ma, 23 mrt 2009: Would

[fpc-pascal] pls help in pascal programmation error

2012-08-29 Thread vdsba
Hi, since this morning I try to find the error but nothing, the error is: Fatal: Unexpected end of file. Here you could find my file this error please. program (dev pascal) shows me the error in red at the end. -- View this message in context:

Re: [fpc-pascal] Including binary data making easy

2012-08-29 Thread Mark Morgan Lloyd
Rainer Stratmann wrote: On 27.08.2012 15:33, Rainer Stratmann wrote: Am Monday 23 March 2009 15:51:24 schrieb Jonas Maebe: Rainer Stratmann wrote on ma, 23 mrt 2009: Would this be possible? It is one of my great ideas to simplify programming. But every time Jonas reflexively look in his

Re: [fpc-pascal] Including binary data making easy

2012-08-29 Thread Rainer Stratmann
Am Wednesday 29 August 2012 10:58:52 schrieb Mark Morgan Lloyd: Looking at the earlier thread, what you appear to be suggesting is some way of using $i for pulling binary data into your program. However, $i is by definition for including source fragments, if you want to merge something that

Re: [fpc-pascal] pls help in pascal programmation error

2012-08-29 Thread Bart
Hi, On 8/28/12, vdsba lavoixde...@gmail.com wrote: Hi, since this morning I try to find the error but nothing, the error is: Fatal: Unexpected end of file. Here you could find my file this error please. program (dev pascal) shows me the error in red at the end. You do not give us any source

Re: [fpc-pascal] Including binary data making easy

2012-08-29 Thread Mark Morgan Lloyd
Rainer Stratmann wrote: Am Wednesday 29 August 2012 10:58:52 schrieb Mark Morgan Lloyd: Looking at the earlier thread, what you appear to be suggesting is some way of using $i for pulling binary data into your program. However, $i is by definition for including source fragments, if you want to

Re: [fpc-pascal] Including binary data making easy

2012-08-29 Thread Rainer Stratmann
Am Wednesday 29 August 2012 11:59:01 schrieb Mark Morgan Lloyd: You are trying to make a very simple thing complicated. I know bytes with values from 0 to 255. I do not see an illegal character/byte there. If you read exactly I did not type $i but $ir which I think is not reserved for

Re: [fpc-pascal] Including binary data making easy

2012-08-29 Thread Mark Morgan Lloyd
Rainer Stratmann wrote: Am Wednesday 29 August 2012 11:59:01 schrieb Mark Morgan Lloyd: You are trying to make a very simple thing complicated. I know bytes with values from 0 to 255. I do not see an illegal character/byte there. If you read exactly I did not type $i but $ir which I think is

Re: [fpc-pascal] Including binary data making easy

2012-08-29 Thread Rainer Stratmann
Am Wednesday 29 August 2012 12:36:08 schrieb Mark Morgan Lloyd: Rainer Stratmann wrote: Am Wednesday 29 August 2012 11:59:01 schrieb Mark Morgan Lloyd: You are trying to make a very simple thing complicated. I know bytes with values from 0 to 255. I do not see an illegal character/byte

[fpc-pascal] another minor bug in fcl-passrc (for-in loop)

2012-08-29 Thread Seth Grover
Michael, Greetings! I found another minor problem with the fcl-passrc parser. The new for-in string loop (http://wiki.freepascal.org/for-in_loop#String_loop) causes the parser to fail with 'Expected := at token in in file ...'. Cheers, -SG -- This email is fiction. Any resemblance to actual

[fpc-pascal] Re: another minor bug in fcl-passrc (for-in loop)

2012-08-29 Thread Seth Grover
Apologies, I should have looked at the latest changes before I emailed. I just saw For in construct and class/record helpers implemented you checked in a week ago, I'll grab that. -SG -- This email is fiction. Any resemblance to actual events or persons living or dead is purely coincidental.

[fpc-pascal] Lazarus 1.0 Release

2012-08-29 Thread Mattias Gaertner
The Lazarus team is glad to announce the release of: Lazarus 1.0 At this important stage the current team would like to thank all the past and current people who were involved in getting us here. * Thanks also go to the FPC team for providing the compiler that makes it all

[fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

2012-08-29 Thread Arioch
Florian Klämpfl wrote This is the prototypical way to run a function over each element in a collection, returning the results. (map (lambda (x) (+ x 1)) '(1 2 3)) - (2 3 4) I still don't see why this cannot be done by procedure variables: one can easily pass a procedure reference to a

Re: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

2012-08-29 Thread Mark Morgan Lloyd
Arioch wrote: Here we are at dilemma. Pascal was devised in 1949 to look like Classic monumental style building, or at least some manufacturing plant style building made of bricks industrial way. Functional style is like more like elegant houses made of paper and thin plywood, something mayeb

[fpc-pascal] GDB help needed please

2012-08-29 Thread Graeme Geldenhuys
Hi, I hope somebody knows more about GDB that I. I'm trying to debug an error in one of our Master Maths projects. This error only occurs under Windows, where it bombs out at random times (in a specific section of our product) with a Segmentation Fault error. GDB pauses the program at that

Re: [fpc-pascal] GDB help needed please

2012-08-29 Thread Jonas Maebe
On 30 Aug 2012, at 00:13, Graeme Geldenhuys wrote: --- Signal received. Signal: SIGSEGV, Segmentation fault. #0 0040E1BB :0 SYSTEM_WAITFREE_FIXED$PMEMCHUNK_FIXED$POSCHUNK() #1 01FB8D3C :0 ??() #2 0040C51A :0 fpc_finalize() #3 0001 :0 ??() #4 0040AD2A