[fpc-pascal] Load .NET dll (or bootstrap CLR to be precise) from FPC

2014-01-09 Thread leledumbo
I'm writing a web app hosting several tasks in FPC, however one of the task is calling a function residing in a .NET dll. I've made a flat C interface for the dll (so that I can call it from FPC easily), and it works just fine IF the dll is somehow loaded first. Currently, I use a trick to debug my

Re: [fpc-pascal] Documentation, syntax diagrams

2014-01-09 Thread Sven Barth
On 10.01.2014 00:32, Constantine Yannakopoulos wrote: On Thu, Jan 9, 2014 at 9:55 AM, Sven Barth mailto:pascaldra...@googlemail.com>> wrote: Am 08.01.2014 22:01, schrieb Michael Van Canneyt: You can preview the result at http://www.freepascal.org/~__michael/ref/refch3.html

[fpc-pascal] Profiling ARM targets

2014-01-09 Thread Bruce Tulloch
What is the recommended way to profile FPC applications run on ARM targets in light of the error message: Fatal: Option "-pg" is not, or not yet, supported on the current target platform when I try to compile for the ARM target? Regards, Bruce. ___ fpc

Re: [fpc-pascal] Documentation, syntax diagrams

2014-01-09 Thread Constantine Yannakopoulos
On Thu, Jan 9, 2014 at 9:55 AM, Sven Barth wrote: > Am 08.01.2014 22:01, schrieb Michael Van Canneyt: > > You can preview the result at >> >> http://www.freepascal.org/~michael/ref/refch3.html >> > You might additionally mention that these type aliases also allow > different operator and (AFAIK a

Re: [fpc-pascal] Documentation, syntax diagrams

2014-01-09 Thread Jürgen Hestermann
Am 2014-01-09 08:26, schrieb Michael Van Canneyt: >> That what should be declared is repeated in the declaration >> itself which makes no sense to me. >> A syntax diagram for 'type declaration' (which is written in the heading already) > The heading is a caption. > In typesetting, normally that i

Re: [fpc-pascal] UTF8 codepage for file in trunk: codepage constant names?

2014-01-09 Thread Sven Barth
Am 09.01.2014 14:49, schrieb Jonas Maebe: On 08 Jan 2014, at 19:37, Reinier Olislagers wrote: On 08/01/2014 17:17, Jonas Maebe wrote: The codepage names used by the codepage directive are (unfortunately, I guess) unrelated to the code page numbers: http://www.freepascal.org/docs-html/prog/pr

Re: [fpc-pascal] UTF8 codepage for file in trunk: codepage constant names?

2014-01-09 Thread Reinier Olislagers
On 09/01/2014 15:43, Michael Van Canneyt wrote: > On Thu, 9 Jan 2014, Reinier Olislagers wrote: >> On 09/01/2014 15:12, Michael Van Canneyt wrote: >>> On Thu, 9 Jan 2014, Reinier Olislagers wrote: On 09/01/2014 14:49, Jonas Maebe wrote: > On 08 Jan 2014, at 19:37, Reinier Olislagers wrote:

Re: [fpc-pascal] UTF8 codepage for file in trunk: codepage constant names?

2014-01-09 Thread Michael Van Canneyt
On Thu, 9 Jan 2014, Reinier Olislagers wrote: On 09/01/2014 15:12, Michael Van Canneyt wrote: On Thu, 9 Jan 2014, Reinier Olislagers wrote: On 09/01/2014 14:49, Jonas Maebe wrote: On 08 Jan 2014, at 19:37, Reinier Olislagers wrote: On 08/01/2014 17:17, Jonas Maebe wrote: I see your point,

Re: [fpc-pascal] UTF8 codepage for file in trunk: codepage constant names?

2014-01-09 Thread Reinier Olislagers
On 09/01/2014 15:12, Michael Van Canneyt wrote: > On Thu, 9 Jan 2014, Reinier Olislagers wrote: >> On 09/01/2014 14:49, Jonas Maebe wrote: >>> On 08 Jan 2014, at 19:37, Reinier Olislagers wrote: On 08/01/2014 17:17, Jonas Maebe wrote: >> I see your point, but I think that people should just re

Re: [fpc-pascal] UTF8 codepage for file in trunk: codepage constant names?

2014-01-09 Thread Michael Van Canneyt
On Thu, 9 Jan 2014, Reinier Olislagers wrote: On 09/01/2014 14:49, Jonas Maebe wrote: On 08 Jan 2014, at 19:37, Reinier Olislagers wrote: On 08/01/2014 17:17, Jonas Maebe wrote: I think that adding links to the manual pages on the wiki is generally not a good idea, because the names of thos

Re: [fpc-pascal] UTF8 codepage for file in trunk: codepage constant names?

2014-01-09 Thread Reinier Olislagers
On 09/01/2014 14:49, Jonas Maebe wrote: > On 08 Jan 2014, at 19:37, Reinier Olislagers wrote: >> On 08/01/2014 17:17, Jonas Maebe wrote: > I think that adding links to the manual pages on the wiki is generally > not a good idea, because the names of those pages change with every FPC > release. The

Re: [fpc-pascal] UTF8 codepage for file in trunk: codepage constant names?

2014-01-09 Thread Jonas Maebe
On 08 Jan 2014, at 19:37, Reinier Olislagers wrote: On 08/01/2014 17:17, Jonas Maebe wrote: The codepage names used by the codepage directive are (unfortunately, I guess) unrelated to the code page numbers: http://www.freepascal.org/docs-html/prog/progsu88.html They are the names of indiv

Re: [fpc-pascal] Ansi version of string functions

2014-01-09 Thread Jonas Maebe
On 09 Jan 2014, at 03:08, Xiangrong Fang wrote: I would like to know what is the difference between AnsiStrscan and strscan, or, generically, the Ansi* functions versus non-ansi versions? In general, the difference between Ansi* functions and non-ansi versions is that the Ansi* versions t

Re: [fpc-pascal] Is it just me or... trunk cross compile failure on arm-linux

2014-01-09 Thread Reinier Olislagers
On 08/01/2014 20:38, Florian Klämpfl wrote: > Reinier Olislagers schrieb: >> On 08/01/2014 18:01, Pierre Free Pascal wrote: -Message d'origine- De : fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal- boun...@lists.freepascal.org] De la part de Reinier Olislagers >>>

Re: [fpc-pascal] Documentation, syntax diagrams

2014-01-09 Thread Michael Van Canneyt
On Thu, 9 Jan 2014, Sven Barth wrote: Am 08.01.2014 22:01, schrieb Michael Van Canneyt: You can preview the result at http://www.freepascal.org/~michael/ref/refch3.html You might additionally mention that these type aliases also allow different operator and (AFAIK also) function overloads.