[fpc-pascal] (no subject)

2016-07-13 Thread Vasudev Ram
Hi list,

Is there a way to interact with this list via the Web?

By interact, I mean, both read and post messages.

I have seen the main page for the list, where one can subscribe, etc.
and do know that there are archives. But archives are only for
reading, and not in a convenient format like a NNTP  newsreader or
email client.

Is there any way (including third-party, such as Gmane or similar
tools), by which one can both read messages from, and write messages
to, the list, via the Web ?

Thanks,
Vasudev Ram - Dancing Bison Enterprises
- Python, C, Linux, databases, open source, ...
- Web site: https://vasudevram.github.io
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


[fpc-pascal] [No subject]

2015-03-31 Thread Mark Morgan Lloyd

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] (no subject)

2014-06-03 Thread Dimitrios Chr. Ioannidis

Hi,

Στις 3/6/2014 1:20 μμ, ο/η Reinier Olislagers έγραψε:

On 03/06/2014 12:17, Dimitrios Chr. Ioannidis wrote:

   FYI, in a wst soap client talking to a .net web service i find out,
that for SOAP calls, if the CONTENT-TYPE http header ( i'm using
fpc-http-protocol ) doesn't have the 'text/xml' plus the 'charset=UTF-8'
like this 'text/xml; charset=UTF-8', the server chocks. So, i changed
the const sSOAP_CONTENT_TYPE in base_soap_formatter.pas to
sSOAP_CONTENT_TYPE = 'text/xml; charset=UTF-8', and all is working fine.

I don't know if this is a bug or not.

No idea, but Isn't there a specific wst mailing list/group mentioned on
the WST wiki page? Maybe it's a better idea to post there.


i already done that. I posted here also because i wanted to share it 
with users who doesn't keep track that list while using the wst framework.



BTW: if the content is indeed UTF8, IIRC, it's not a bug to explicitly
specify charset=UTF-8; a similar fix was needed for exporting XML files
to Microsoft .Net dataset XML format IIRC.


AFAIU, in the SOAP HTTP Binding the character encoding in the 
Content-Type header is optional.


Regards,

--
Dimitrios Chr. Ioannidis



smime.p7s
Description: Κρυπτογραφημένη υπογραφή S/MIME
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] (no subject)

2014-06-03 Thread Reinier Olislagers
On 03/06/2014 12:17, Dimitrios Chr. Ioannidis wrote:
>   FYI, in a wst soap client talking to a .net web service i find out,
> that for SOAP calls, if the CONTENT-TYPE http header ( i'm using
> fpc-http-protocol ) doesn't have the 'text/xml' plus the 'charset=UTF-8'
> like this 'text/xml; charset=UTF-8', the server chocks. So, i changed
> the const sSOAP_CONTENT_TYPE in base_soap_formatter.pas to
> sSOAP_CONTENT_TYPE = 'text/xml; charset=UTF-8', and all is working fine.
> 
> I don't know if this is a bug or not.

No idea, but Isn't there a specific wst mailing list/group mentioned on
the WST wiki page? Maybe it's a better idea to post there.

BTW: if the content is indeed UTF8, IIRC, it's not a bug to explicitly
specify charset=UTF-8; a similar fix was needed for exporting XML files
to Microsoft .Net dataset XML format IIRC.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] (no subject)

2014-03-08 Thread Barracuda
OK, thanks. I've really figured that out - function should return PChar, not 
string.
I'm writing an replacement for closed-source component (also written in 
Pascal), and using disassembler because of that. This component 
intercommunicate with two others, loadable library (on one side) written in 
Pascal and application (on other side) written in C#, both are closed-source.
Anyway, thanks for help!
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] (no subject)

2014-03-08 Thread Sven Barth

On 07.03.2014 20:26, Barracuda wrote:

Code:
-
function SentenceSample(N: integer): string; stdcall;
begin
   //writeln('N = ', N);
   //SentenceSample := RuGetSentence(N);
   inc(N);
end;
-
Of course, inc(N); added just to simplify disassembling. And there is disasm:


You don't need to disassemble. Just pass "-al" and the compiler will 
keep the generated assembler files (normally *.s).



-
sentencesample  proc near
   pushebp
   mov ebp, esp
   inc [ebp+0Ch]
   leave
   retn8
-


If you would have used "-al" you would see this:

=== asm begin ===

.section .text.n_p$hiddenarg_$$_sentencesample$longint$$ansistring
.balign 16,0x90
.globl  P$HIDDENARG_$$_SENTENCESAMPLE$LONGINT$$ANSISTRING
.type   P$HIDDENARG_$$_SENTENCESAMPLE$LONGINT$$ANSISTRING,@function
P$HIDDENARG_$$_SENTENCESAMPLE$LONGINT$$ANSISTRING:
.Lc1:
# [thiddenarg.pas]
# [6] begin
pushl   %ebp
.Lc3:
.Lc4:
movl%esp,%ebp
.Lc5:
# Var N located at ebp+12
# Var $result located at ebp+8
# [9] inc(N);
addl$1,12(%ebp)
# [10] end;
leave
ret $8
.Lc2:
.Le0:
.size   P$HIDDENARG_$$_SENTENCESAMPLE$LONGINT$$ANSISTRING, .Le0 
- P$HIDDENARG_$$_SENTENCESAMPLE$LONGINT$$ANSISTRING


=== asm end ===

Especially note the "N located at ..." and "$result located at ..." 
comments ;)


> As you can see, procedure has only one parameter, but FPC generates 
code as if there are two
> parameters; and the main problem is that it trying to work with wrong 
variable (N is in ebp+08,

> not 0C; it's obvious and proved by debugging). The result is bad =)

Is there a specific reason/problem why you decided to look at the 
assembler code?



Regards,
Sven
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] (no subject)

2014-03-08 Thread Jonas Maebe

On 07 Mar 2014, at 20:26, Barracuda wrote:

> -
> function SentenceSample(N: integer): string; stdcall;
> begin
>  //writeln('N = ', N);
>  //SentenceSample := RuGetSentence(N);
>  inc(N);
> end;
> -
[snip]
> -
> As you can see, procedure has only one parameter, but FPC generates code as 
> if there are two 
> parameters; and the main problem is that it trying to work with wrong 
> variable (N is in ebp+08, 
> not 0C; it's obvious and proved by debugging). The result is bad =)
> So, can you say, there am I wrong?

Ansistrings results are returned in a hidden call-by-reference parameter, so 
the offset should be correct.


Jonas

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


[fpc-pascal] (no subject)

2014-03-08 Thread Barracuda
Hello, guys!
Firstly, thank you for such a great project! It's very nice to use it in a 
study process in a school/university.
And now a question :)
I have some trouble working on one of my projects, it's code is here:
https://github.com/Barracuda72/PT
The problem is with function "SentenceSample" in "PT4LibIFace.pas"; there are 
two ways - my stupidness or mysterious behavior of FPC compiler.
Code:
-
function SentenceSample(N: integer): string; stdcall;
begin
  //writeln('N = ', N);
  //SentenceSample := RuGetSentence(N);
  inc(N);
end;
-
Of course, inc(N); added just to simplify disassembling. And there is disasm:
-
sentencesample  proc near
  pushebp
  mov ebp, esp
  inc [ebp+0Ch]
  leave
  retn8
-
As you can see, procedure has only one parameter, but FPC generates code as if 
there are two 
parameters; and the main problem is that it trying to work with wrong variable 
(N is in ebp+08, 
not 0C; it's obvious and proved by debugging). The result is bad =)
So, can you say, there am I wrong?
Ah, I'm using Lazarus 1.0.14 with FPC 2.6.2, Win32 build
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


[fpc-pascal] [No subject]

2012-03-15 Thread Mark Morgan Lloyd

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] [No subject]

2012-03-15 Thread Mark Morgan Lloyd

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] (no subject)

2012-02-24 Thread Everton Vieira
Exactly that i was meant, thank you people.

2012/2/23 Michael Van Canneyt 

>
>
> On Thu, 23 Feb 2012, Everton Vieira wrote:
>
>  Is there any plans to implement public procedures/function of a class
>> that can be used without been necessary to create the class?
>>
>
>
> This exists: class functions.
>
> Given the declaration
>
>  TMYClass = Class
>   Class function doGLobal (Arg : ArgType) : Resulttype;
>  end;
>
>
> Then
>
>  TMyClass.doGlobal(a)
>
> Is Valid.
>
> Michael.
>
> __**_
> fpc-pascal maillist  -  
> fpc-pascal@lists.freepascal.**org
> http://lists.freepascal.org/**mailman/listinfo/fpc-pascal
>



-- 
Everton Vieira.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] (no subject)

2012-02-24 Thread Michael Van Canneyt



On Thu, 23 Feb 2012, Everton Vieira wrote:


Is there any plans to implement public procedures/function of a class that can 
be used without been necessary to create the class?



This exists: class functions.

Given the declaration

 TMYClass = Class
   Class function doGLobal (Arg : ArgType) : Resulttype;
 end;


Then

  TMyClass.doGlobal(a)

Is Valid.

Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] (no subject)

2012-02-24 Thread Felipe Monteiro de Carvalho
I think that you just described class methods:

http://www.freepascal.org/docs-html/ref/refsu27.html

-- 
Felipe Monteiro de Carvalho
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] (no subject)

2012-02-24 Thread Mattias Gaertner

Everton Vieira  hat am 23. Februar 2012 um 17:17
geschrieben:

> public procedures/function of a class that can be used without been
> necessary to create the class?=?71c4af2e-7ede-4749-bc03-e827c6f6ed0d--
> 
> 
> Maybe you mean "class procedures"?
> That exists since many years.
> 
> Mattias
> 
> ___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] (no subject)

2012-02-24 Thread Howard Page-Clark

On 23/2/12 4:17, Everton Vieira wrote:

Is there any plans to implement public procedures/function of a class
that can be used without been necessary to create the class?


I presume you know about class methods such as TObject's

class function ClassName : shortstring;

that you can use like this

procedure TForm1.Button1Click(Sender: TObject);
begin
  ShowMessageFmt('Class name of TEdit is %s', [TEdit.ClassName]);
end;

without needing to instantiate a TEdit instance?

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] (no subject)

2012-02-24 Thread Sven Barth

Am 23.02.2012 17:17, schrieb Everton Vieira:

Is there any plans to implement public procedures/function of a class
that can be used without been necessary to create the class?


Do you know class procedures/functions?

=== example begin ===

type
  TTestClass = class
class procedure Foo;
class function Bar: LongInt;
  end;

class procedure TTestClass.Foo;
begin

end;

class function TTestClass.Bar: LongInt;
begin

end;

var
  x: LongInt;
begin
  TTestClass.Foo;
  x := TTestClass.Bar;
end.

=== example end ===

Regards,
Sven
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] (no subject)

2012-02-23 Thread Everton Vieira
Is there any plans to implement public procedures/function of a class that
can be used without been necessary to create the class?

-- 
Everton Vieira.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] (no subject)

2012-01-24 Thread Brad Woosley

http://prolumia.eu/mor/184042.html
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Duplicate identifier in derived generic (was: Re: [fpc-pascal] (no subject))

2011-11-24 Thread Sven Barth

Am 24.11.2011 16:56, schrieb Juha Manninen:

It says:
  unit1.pas(40,24) Error: Duplicate identifier "FreeObjects"

Why? If I change "FreeObjects" to "aFreeObjects" then it works. Again why?


You simply picked a bad example, because "TFPGObjectList" contains a 
property called "FreeObjects", thus mode ObjFPC will not allow you to 
declare a similar identifier again in this class.


Though it's inconsistent (and in my opinion a bug) that the duplicated 
declaration inside "TFPGObjectList" itself is not detected...


Note: if the property in "TFPGObjectList" would be moved before the 
constructor it should be detected as duplicate.



Is it even ok to derive classes from specialized classes like that?


Of course it is. In Delphi (and my generics branch) even the following 
is allowed:


{$mode delphi}

type
  TSomeDerivedList = class(TFPGObjectList)
// ...
  end;

Regards,
Sven
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] (no subject)

2011-11-24 Thread Juha Manninen
I try to learn to use generics properly.
First, this is a class definition without generics:

  TMyDerived = class(TObjectList)
  private
MyInt: integer;
  public
constructor Create(FreeObjects: Boolean=True);
  end;

It works. Now I try to derive a class with generics:

  TMyGen = specialize TFPGObjectList;

  TMyDerived = class(TMyGen)
  private
MyInt: integer;
  public
constructor Create(FreeObjects: Boolean=True);
  end;

It says:
 unit1.pas(40,24) Error: Duplicate identifier "FreeObjects"

Why? If I change "FreeObjects" to "aFreeObjects" then it works. Again why?

Is it even ok to derive classes from specialized classes like that?

Juha
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] (no subject)

2011-11-14 Thread sider2jp

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] (no subject)

2011-05-17 Thread Erliansyah Nasution
http://sample-resumes-plus.com/wp-content/plugins/akismet/site.html
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] (no subject)

2010-04-12 Thread Bihar Anwar
Thanks very much Bart, Thomas, and Graeme, they're precious information. I even 
didn't notice about the built-in feature within FPC and Lazarus IDE.

Thanks again.



- Original Message 
From: Graeme Geldenhuys 
To: FPC-Pascal users discussions 
Sent: Mon, April 12, 2010 8:09:42 PM
Subject: Re: [fpc-pascal] (no subject)

On 12 April 2010 14:27, Tomas Hajny  wrote:
>
> These are obviously all valid. There's also another possibility though
> (having advantages and disadvantages compared to this) - you could have an
> include file specifying this define and reference this include file from
> all (relevant) source files.


100% correct Tomas, and a very handy option at that. We actually use
this method in our company projects. Only downside - don't forget to
specify the include file in each and every unit of your project.


-- 
Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



  
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] (no subject)

2010-04-12 Thread Graeme Geldenhuys
On 12 April 2010 14:27, Tomas Hajny  wrote:
>
> These are obviously all valid. There's also another possibility though
> (having advantages and disadvantages compared to this) - you could have an
> include file specifying this define and reference this include file from
> all (relevant) source files.


100% correct Tomas, and a very handy option at that. We actually use
this method in our company projects. Only downside - don't forget to
specify the include file in each and every unit of your project.


-- 
Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] (no subject)

2010-04-12 Thread Tomas Hajny
On Mon, April 12, 2010 14:03, Graeme Geldenhuys wrote:
> On 12 April 2010 13:25, Bart  wrote:
>>
>> Commandline:
>> fpc -dNOFORMSPLEASE myprogram.pp
>>
>> Not sure if this can be done from within FP IDE or Lazarus though.
>
> Yes they do...
>
> FP IDE:
> Option > Compiler > Conditional Defines
>
> Lazarus IDE:
> Project > Project Options > Compiler Options > Other > Custom options
>   - add a new line:  -d
>
> MSEide:
> Project > Options > Make > Make Options
>   - add a new line:  -d

These are obviously all valid. There's also another possibility though
(having advantages and disadvantages compared to this) - you could have an
include file specifying this define and reference this include file from
all (relevant) source files. The advantage is that this works
independently from the chosen compilation method (fpc from command line,
makefile, all IDEs, etc.). The disadvantage is obviously that if you need
to make sure that you don't forget the include file reference in any of
your (relevant) files.

Tomas


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] (no subject)

2010-04-12 Thread Graeme Geldenhuys
On 12 April 2010 13:25, Bart  wrote:
>
> Commandline:
> fpc -dNOFORMSPLEASE myprogram.pp
>
> Not sure if this can be done from within FP IDE or Lazarus though.

Yes they do...

FP IDE:
Option > Compiler > Conditional Defines

Lazarus IDE:
Project > Project Options > Compiler Options > Other > Custom options
  - add a new line:  -d

MSEide:
Project > Options > Make > Make Options
  - add a new line:  -d



-- 
Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] (no subject)

2010-04-12 Thread Bart
On Sun, Apr 11, 2010 at 4:22 PM, Bihar Anwar  wrote:
> Yes it works, but the {$DEFINE NOFORMSPLEASE} clause must be put in the unit 
> itself. If I put the clause in the first line of my console project, the unit 
> won't catch it.
>
> How can I define a compiler directive that can be understood by all units in 
> my project?
>

Commandline:
fpc -dNOFORMSPLEASE myprogram.pp

Not sure if this can be done from within FP IDE or Lazarus though.

Bart
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] (no subject)

2010-04-11 Thread Bihar Anwar
Yes it works, but the {$DEFINE NOFORMSPLEASE} clause must be put in the unit 
itself. If I put the clause in the first line of my console project, the unit 
won't catch it.

How can I define a compiler directive that can be understood by all units in my 
project?

Anyway, thanks.



- Original Message 
From: Bart 
To: FPC-Pascal users discussions 
Sent: Sun, April 11, 2010 4:51:54 PM
Subject: Re: [fpc-pascal] (no subject)

Simply define the compiler directive NOFORMSPLEASE when compiling your
console app.
The ProcessMessages is there (I guess) for allowing the Application
object to update screens (WinControls).

Since a console application does not link in LCL this is not necessary.

Bart
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



  
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] (no subject)

2010-04-11 Thread Bihar Anwar
Thanks Bart, I will try it.



- Original Message 
From: Bart 
To: FPC-Pascal users discussions 
Sent: Sun, April 11, 2010 4:51:54 PM
Subject: Re: [fpc-pascal] (no subject)

Simply define the compiler directive NOFORMSPLEASE when compiling your
console app.
The ProcessMessages is there (I guess) for allowing the Application
object to update screens (WinControls).

Since a console application does not link in LCL this is not necessary.

Bart
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



  
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] (no subject)

2010-04-11 Thread Bart
Simply define the compiler directive NOFORMSPLEASE when compiling your
console app.
The ProcessMessages is there (I guess) for allowing the Application
object to update screens (WinControls).

Since a console application does not link in LCL this is not necessary.

Bart
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] (no subject)

2010-04-11 Thread Bihar Anwar
I have the following part of a unit code which can be compiled successfully 
under a normal GUI application.

  {$IFNDEF NOFORMSPLEASE}
  if soProcessMessages in oSearchOptions then
Application.ProcessMessages;
  {$ENDIF}

My question is, how can I use this unit from my console application? I know 
that a console application won't receive that kind of notification, but since 
this is a unit for searching folders/files, I want to use it too in my console 
application.

Any help appreciated. Thanks.



  
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] (no subject)

2009-10-17 Thread Micha Nelissen

ak za wrote:
i want to don't send mail to me from you but idn't know how do it. 
please guide me


Do you mean unsubscribe, see link at bottom of this email:


http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Then look at bottom of page, unsubscribe.

Micha


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] (no subject)

2009-10-17 Thread ak za
i want to don't send mail to me from you but idn't know how do it. please guide 
me


  ___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] (no subject)

2009-05-06 Thread Jonas Maebe


On 06 May 2009, at 22:11, Seth Grover wrote:


Now I know I can just use trunc(DaySpan(val1, val2)) to achieve the
same result, but I was just curious as to why this change was made
which so drastically changes the functionality of these calls.


Because with trunc you also get rounding errors in certain cases, but  
in the other direction. I've now fixed it using a custom epsilon and  
trunc.



Jonas
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] (no subject)

2009-05-06 Thread Seth Grover
http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/rtl/objpas/dateutil.inc?view=diff&r1=12957&r2=12958
shows that a change was recently made which replaces "Trunc" with
"Round" in the *Between routines in dateutil.inc (DaysBetween,
HoursBetween, etc.).

So this program:
-

program Project1;

{$mode objfpc}{$H+}

uses
  Classes,SysUtils,DateUtils;

var
  val1, val2 : TDateTime;
begin
  val1 := 39939.0;
  val2 := 39939.796069305557;
  writeln(DaysBetween(val1, val2));
end.
-

Will now print result in a "1" instead of a "0" which is what I would
have gotten before.

Now I know I can just use trunc(DaySpan(val1, val2)) to achieve the
same result, but I was just curious as to why this change was made
which so drastically changes the functionality of these calls.

Thanks,

-SG

--
This email is fiction. Any resemblance to actual events
or persons living or dead is purely coincidental.

Seth Grover
sethdgrover[at]gmail[dot]com
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] (no subject)

2008-09-02 Thread Jonas Maebe


On 02 Sep 2008, at 09:26, Tzvetan Velinov wrote:

I had the older version of FP and installed the new one -2.2.2 on a  
PC machine from the file fpc-2.2.2.i386-win32.exe (and unfortunately  
unistalled the old one).
I think I followed all the steps that were descibed and used names  
of the directories according the advices - not too long and without  
a space. I even put the paths into the autoexec.bat although it was  
mentioned that this is not necessary for XP.
However I have the following problem: when I open the IDE and first  
start even the simpler program the following message appears:

Fatal error - illegal parameter - Opentium3

When I try again the message:
unable to open file: D\FPC\2.2.2\bin\i386-win32\fp.cfg

I unistalled and installed the program several times and in  
different directories but nothing changed except for the path in the  
second message - unable to open the file.


There is unfortunately an error in the default IDE configuration  
shipped with FPC 2.2.2. Remove the file D:\FPC\2.2.2\bin\i386- 
win32\fp.cfg and everything should work fine afterwards.



Jonas
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] (no subject)

2008-09-02 Thread Tzvetan Velinov
Hello,
I had the older version of FP and installed the new one -2.2.2 on a PC machine 
from the file fpc-2.2.2.i386-win32.exe (and unfortunately unistalled the old 
one).
I think I followed all the steps that were descibed and used names of the 
directories according the advices - not too long and without a space. I even 
put the paths into the autoexec.bat although it was mentioned that this is not 
necessary for XP.
However I have the following problem: when I open the IDE and first start even 
the simpler program the following message appears:
Fatal error - illegal parameter - Opentium3

When I try again the message:
unable to open file: D\FPC\2.2.2\bin\i386-win32\fp.cfg

I unistalled and installed the program several times and in different 
directories but nothing changed except for the path in the second message - 
unable to open the file.

Please, can somebody help me

best regards

Tzvetan Velinov 


  
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] (no subject)

2008-07-08 Thread Vladimir Karpenko

>> How can i access harware ports if there is no ports unit on Linux
>> x64 port? 

>There is a tutorial for Hardware Access here:
>http://wiki.lazarus.freepascal.org/Hardware_Access
 Well of course i read that, but there is no ports unit in x64 Linux.

uses
  Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, ExtCtrls,
 {$IFDEF WIN32}
   Windows;
 {$ENDIF}
 {$IFDEF Unix}
   ports;
 {$ENDIF}

You see the given examples are using ports unit in *nix.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] (no subject)

2007-12-02 Thread Edward Kearns
>>Then when I do  compile, and see nothing happen, the "about" box  
says:



Lightweight IDE: 0.2.9
FPC (Intel): Failed!
FPC (PPC): 2.2.0
GCC: powerpc-apple-Darwin8-gcc-4.0.1(GCC)
TransSkel: 4.0a1




Looks perfect! (As long as you don't need to compile for Intel.)


/Ingemar>>

That's fine, but I don't have a clue as to how to use FPC. However, I  
don't need to, as Lightweight IDE should do all I want to do.


Ed

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] (no subject)

2005-04-05 Thread Michał Woźniak

> 9x/ME is another story, the console implementation of 9x/ME is poor. I
> think the best option for 9x/ME users is 1.0.10/go32v2.

I'd say - go for Lazarus!
www.lazarus.freepascal.org
It's a great IDE, and it actually gets the job done.
I am using it for a while now.

Cheers
Mike


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] (no subject)

2005-04-05 Thread Florian Klaempfl
Gergely MOLNAR wrote:
> hi!
> 
> Anybody knows why fpc win32 IDE consumes much cpu time on windows me (and
> also win xp). 

At least for me it doesn't on XP and I never heard that it does on XP.
9x/ME is another story, the console implementation of 9x/ME is poor. I
think the best option for 9x/ME users is 1.0.10/go32v2.

> Are there some special settings, or any configs to avoid this?
> Thank you!
> 
> -G
> 
> 
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] (no subject)

2005-04-05 Thread Gergely MOLNAR
hi!

Anybody knows why fpc win32 IDE consumes much cpu time on windows me (and
also win xp). Are there some special settings, or any configs to avoid this?
Thank you!

-G


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] (no subject)

2005-03-21 Thread Artur Kornilowicz

Hi,

I think there are some problems with links in on-line fpc documentation. For
example look at

http://www.freepascal.org/docs-html/user/userse38.html#x55-1330008.2

and link to "Programmers guide" at the bottom of the page or

http://www.freepascal.org/docs-html/user/userse39.html#x56-1340008.3

and link to "FPDoc reference guide" at the bottom of the page.

Greetings
Artur K




This message was sent using IMP, the Internet Messaging Program.

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] (no subject)

2004-12-28 Thread Paul Davidson
OS X 10.3.6

This code makes a window area in center of screen, and prints in that area.  The new window is filled with characters when DELLINE is used.  Any hints?

program TestCRT;

uses
CRT;

var
f : text;

procedure win( s : string );
begin
Window( 1, 3, ScreenWidth, ScreenHeight - 2 );
GotoXY( 1, 1 );
		DelLine;
Window( 1, 1, ScreenWidth, ScreenHeight ); 
readln;
GotoXY( 1, ScreenHeight - 2 );
Write( f, s );
end;


begin


// Set up basic screen
AssignCRT( f );
Rewrite( f );
// Make screen BLUE
GotoXY( 1, 1 );
TextBackground( Blue );
ClrScr;
// Middle window
Window( 1, 3, ScreenWidth, ScreenHeight - 2 );
GotoXY( 1, 1 );
TextBackground( Cyan );
ClrScr;


// First message
ClrScr;
GotoXY( 1,ScreenHeight );
TextColor( Blue );
Window( 1, 1, ScreenWidth, ScreenHeight );
GotoXY( 1, ScreenHeight - 2 );
Write( f, 'Morning' );

// Send some lines
Win( 'Hello' );
Win( 'This is a test ' );




// Wait for human
readln;




end.


P Davidson
Corax Networks Inc.
http://CoraxNetworks.com___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


RE: [fpc-pascal](no subject)

2004-06-28 Thread Tomas Hajny
Lee, John said:
> You may have looked at this already, but can't you run win 9x of some
> sort eg 98. This can be quite cheap 10e or thereabouts...My guess is
> this'll run on a 486/pentium with 1? G disk, 16? M memory -then use dos
> (or even win32) fpc...

I'd add to this - what's your (the original poster) definition of “weak
hardware”, and what is the program intended to do (at least roughly -
what kind of tasks)? This might help to find the best alternative solution
if necessary.

Regards

Tomas




___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


RE: [fpc-pascal](no subject)

2004-06-28 Thread Lee, John
You may have looked at this already, but can't you run win 9x of some sort
eg 98. This can be quite cheap 10e or thereabouts...My guess is this'll run
on a 486/pentium with 1? G disk, 16? M memory -then use dos (or even win32)
fpc...This'll give you 'multitasking'  of a sort and be easier to support...
Regards John   

> -Original Message-
> From: Jérémie LEFRANCOIS [mailto:[EMAIL PROTECTED]
> Sent: 28 June 2004 10:46
> To: [EMAIL PROTECTED]
> Subject: [fpc-pascal](no subject)
> 
> 
> I have some big TP 5.5 program to port to some more recent 
> compiler, and FP 
> seems a fair choice, since a little trial convinced me of the 
> great quality of 
> the product.
> 
> Yet my target hardware is so poor that we have to stick to 
> MS-DOS 6.20.
> 
> The fact is that I need to also port some multi-tasking 
> software. I know DOS is 
> not multi-tasking, but I had that software sold by a french 
> company (that has 
> long ago dissapeared halas) that fooled the Turbo Pascal 5.5 
> code into behaving 
> in a multi tasking way (the DOS way, in fact you just switch 
> between contexts, 
> nothing more).
> 
> I also found some interesting software on the Internet 
> providing what I need 
> (MTASK) yet it seems to be adapted only to the Turbo Pascal 
> code compiled 
> behaviour, probably much different from Free PAscal.
> 
> My question is :
> 
> Is there, to your knowledge, anywhere (or anyone that would 
> know) I could get 
> some Free Pascal code of a "multitasker" under DOS ?
> 
> Regards.
> 
> 
> __
> Jérémie Lefrançois
> 06 73 27 35 97 
> Consultant 
> Altran Technologies
> 
> ___
> fpc-pascal maillist  -  [EMAIL PROTECTED]
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> 

This e-mail and any attachment is for authorised use by the intended recipient(s) 
only. It may contain proprietary material, confidential information and/or be subject 
to legal privilege. It should not be copied, disclosed to, retained or used by, any 
other party. If you are not an intended recipient then please promptly delete this 
e-mail and any attachment and all copies and inform the sender. Thank you.

___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal](no subject)

2004-06-28 Thread Michael Van Canneyt


On Mon, 28 Jun 2004, [ISO-8859-1] Jérémie LEFRANCOIS wrote:

> I have some big TP 5.5 program to port to some more recent compiler, and FP
> seems a fair choice, since a little trial convinced me of the great quality of
> the product.
>
> Yet my target hardware is so poor that we have to stick to MS-DOS 6.20.
>
> The fact is that I need to also port some multi-tasking software. I know DOS is
> not multi-tasking, but I had that software sold by a french company (that has
> long ago dissapeared halas) that fooled the Turbo Pascal 5.5 code into behaving
> in a multi tasking way (the DOS way, in fact you just switch between contexts,
> nothing more).
>
> I also found some interesting software on the Internet providing what I need
> (MTASK) yet it seems to be adapted only to the Turbo Pascal code compiled
> behaviour, probably much different from Free PAscal.
>
> My question is :
>
> Is there, to your knowledge, anywhere (or anyone that would know) I could get
> some Free Pascal code of a "multitasker" under DOS ?

This question has been asked before. See the community site:
http://community.freepascal.org:1/bboard/q-and-a-fetch-msg.tcl?msg_id=GQ&topic_id=4&topic=Developing%20for%20Dos

But I'm afraid the answer will turn out to be negative.

Michael.

___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal](no subject)

2004-06-28 Thread Jérémie LEFRANCOIS
I have some big TP 5.5 program to port to some more recent compiler, and FP 
seems a fair choice, since a little trial convinced me of the great quality of 
the product.

Yet my target hardware is so poor that we have to stick to MS-DOS 6.20.

The fact is that I need to also port some multi-tasking software. I know DOS is 
not multi-tasking, but I had that software sold by a french company (that has 
long ago dissapeared halas) that fooled the Turbo Pascal 5.5 code into behaving 
in a multi tasking way (the DOS way, in fact you just switch between contexts, 
nothing more).

I also found some interesting software on the Internet providing what I need 
(MTASK) yet it seems to be adapted only to the Turbo Pascal code compiled 
behaviour, probably much different from Free PAscal.

My question is :

Is there, to your knowledge, anywhere (or anyone that would know) I could get 
some Free Pascal code of a "multitasker" under DOS ?

Regards.


__
Jérémie Lefrançois
06 73 27 35 97 
Consultant 
Altran Technologies

___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal](no subject)

2003-12-19 Thread Payan Ballesteros, Ivan
unsubscribe payball [EMAIL PROTECTED]
--


***
Este mensaje se dirige exclusivamente a su destinatario y puede 
contener información confidencial sometida a secreto profesional o cuya divulgación 
esté prohibida en virtud de la legislación vigente. 
Cualquier opinión en él contenida es exclusiva de su autor y no 
representa necesariamente la opinión de la empresa.
Si ha recibido este mensaje por error, le rogamos nos lo comunique 
inmediatamente por esta misma vía y proceda a su destrucción.

This message is intended exclusively for its addressee and may contain
information that is CONFIDENTIAL and protected by professional privilege
or whose spreading is prohibited by virtue of the in force legislation. 
Any opinion there in contained is solely that of the author
and does not represent necessarily the opinion of the company.
If this message has been received in error, please immediately notify us via e-mail 
and delete it.
***


___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal](no subject)

2003-08-15 Thread Michael Van Canneyt


On Fri, 15 Aug 2003, [iso-8859-2] Balázs Csaba wrote:

> What is the difference between
> ---  /usr/lib/fpc/1.0.6/units/linux/ibase/ibase60.ppu
> and
> ---  /usr/lib/fpc/1.0.6/units/linux/fcl/interbase.ppu
> ?
> What can i use better?

ibase60 is the low-level C api. 'interbase' contains a TDataset
descendent which works with Interbase.

> How can I download documentation for each?

There is none.

Michael.


___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal](no subject)

2003-08-15 Thread Balázs Csaba
Title: Üzenet



What is the 
difference between 
---  
/usr/lib/fpc/1.0.6/units/linux/ibase/ibase60.ppuand 
---  
/usr/lib/fpc/1.0.6/units/linux/fcl/interbase.ppu
?
What can i use better?
How can I download documentation for 
each?
 
#Tsch : Balázs Csaba 
 


RE: [fpc-pascal](no subject)

2003-03-15 Thread Patrick Zerafa















>From: "Lee, John" <[EMAIL PROTECTED]>

>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>, [EMAIL PROTECTED] 

>CC: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>

>Subject: RE: [fpc-pascal](no subject) 

>Date: Fri, 14 Mar 2003 19:21:36 - 

> 

>This question isn't very easy to answer - there is no information in it. 

>Please try to be more precise! 

> 

>We can help you if you give us some information eg what operating system are 

>you using, what are you trying to do compile& run, or debug? What did you 

>download? What were the error messages? What did you use before? 

> 

>Regards John 

> 

>-Original Message----- 

>From: Patrick Zerafa [mailto:] 

>Sent: Friday, March 14, 2003 16:38 

>To: [EMAIL PROTECTED] 

>Subject: [fpc-pascal](no subject) 

> 

> 

> 

>Dear sir, 

> 

>Hi, I installed Pascal but the Interface is not the right one and it is not 

>as fast as it was once downloaded. Please can you tell me how to get the 

>right Pascal Interface and working properly? 

> 

>your sincerely 

> 

>Patrick Zerafa. 

> 

> 

> 

> 

> 

> _ 

> 

>MSN 8 helps ELIMINATE E-MAIL VIRUSES. Get 2 

>months FREE*. ___ fpc-pascal 

>maillist - [EMAIL PROTECTED] 

>http://lists.freepascal.org/mailman/listinfo/fpc-pascal 

> 

> 



>This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. 

Dear Sir,

This computer is Pantium 3, Windows 98, I am trying to make use of Pascal for a school project and to have the program to try some programs like calculator(addition, subtraction...), 

I downloaded Pascal from the site www.freepascal.org and choosed the Win32 - the download which consisted of the biggest size (18KB) or something like that, then I downloaded it and installed it and got this program.

I may be asked more questions about my computer system and program downloaded in this e-mail address [EMAIL PROTECTED]

I hope to recieving back from you.

Patrick Zerafa 


The new MSN 8: smart spam protection and 2 months FREE* 
___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


RE: [fpc-pascal](no subject)

2003-03-14 Thread Lee, John



This 
question isn't very easy to answer - there is no information in it. Please try 
to be more precise!  
 
We can 
help you if you give us some information eg what operating system are you 
using, what are you trying to do compile& run, or debug? What did you 
download? What were the error messages? What did you use 
before?
 
Regards John
 
-Original Message-From: Patrick Zerafa 
[mailto:]Sent: Friday, March 14, 2003 16:38To: 
[EMAIL PROTECTED]Subject: [fpc-pascal](no 
subject)



Dear sir,
Hi, I installed Pascal but the Interface is not the right one and it is not 
as fast as it was once downloaded. Please can you tell me how to get the right 
Pascal Interface and working properly?
your sincerely
Patrick Zerafa.



MSN 8 helps ELIMINATE E-MAIL VIRUSES. 
Get 2 months FREE*. ___ fpc-pascal 
maillist - [EMAIL PROTECTED] 
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



This e-mail and any attachment is for authorised use by the intended recipient(s) only.  It may contain proprietary material, confidential information and/or be subject to legal privilege.  It should not be copied, disclosed to, retained or used by, any other party.  If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender.  Thank you.



[fpc-pascal](no subject)

2003-03-14 Thread Patrick Zerafa


Dear sir,
Hi, I installed Pascal but the Interface is not the right one and it is not as fast as it was once downloaded. Please can you tell me how to get the right Pascal Interface and working properly?
your sincerely
Patrick Zerafa.

MSN 8 helps ELIMINATE E-MAIL VIRUSES. Get 2 months FREE*.
___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal](no subject)

2003-03-10 Thread Jonas Maebe
On maandag, maa 10, 2003, at 13:35 Europe/Brussels, Patrick Zerafa 
wrote:

I cannot install the Pascal, I did everything as needed:
- Unzipped the file (install.exe)
- Opened the file and was asked for Base Path in which I left it as 
default
- Then after the installation was completed the installation program 
closed
- Then I went back to the WinZip, there was a window in which I 
clicked OK
and nothing happened.
 
Please can you tell me how to install Pascal?
It is already installed. However, the installation program does not 
automatically add an entry to the Start menu and also does not place an 
icon on your Desktop. You can start the IDE by choosing "Run..." in the 
Start menu and by typing "c:\pp\bin\win32\fp.exe" in the dialog box you 
get. It may be easier for you to install DevPascal though 
(), it uses FPC as compiler 
but behaves more like other Windows programs.

Jonas

___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal](no subject)

2003-03-10 Thread Patrick Zerafa
Dear Sir,
I cannot install the Pascal, I did everything as needed:
- Unzipped the file (install.exe)
- Opened the file and was asked for Base Path in which I left it as default
- Then after the installation was completed the installation program closed
- Then I went back to the WinZip, there was a window in which I clicked OK
and nothing happened.
 
Please can you tell me how to install Pascal?
 
I hope to recieving from you 
 
Patrick ZerafaMSN 8 helps ELIMINATE E-MAIL VIRUSES.  Get 2 months FREE*.
___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal](no subject)

2003-03-08 Thread Jilani Khaldi
>  I have tried to install Pascal by the default Base Path (c:/pp), but the
>  installation was not succesful: because it told me to write another Base
>  Path but still cannot install Pascal,
The path is c:\pp and not c:/pp

jk



___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal](no subject)

2003-03-08 Thread Patrick Zerafa
Dear Sir,
I have tried to install Pascal by the default Base Path (c:/pp), but the installation was not succesful: because it told me to write another Base Path but still cannot install Pascal,
 
I look forwarding to your replying ad helping me in the future.
 
your sincerely
Patrick ZerafaAdd photos to your messages with  MSN 8.  Get 2 months FREE*.
___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal