[fpc-pascal] free pascal compiler on Linux Red Hat for target motorola 68k

2023-10-14 Thread LECUYER Philippe via fpc-pascal
Hi, I search a free pascal cross compiler (for host Linux Red hat 7.x and target Motorola 68k) I test the last 3.2.2 version but I doesn't find the option for target Motorola 68k (fpc -help) It's run when I compile an example (in examples directory) and execute on Linux RH 7.x but I want to

Re: [fpc-pascal] Bitcounting

2016-03-05 Thread Philippe Lévi
sorry ... need change intToStr in my suggestion by something like intToStrBin length( strChange( intToStrBin( N, '0', '')); but it is just for fun! De: fpc-pascal-boun...@lists.freepascal.org em nome de Bart

Re: [fpc-pascal] Lazarus Release 1.6

2016-02-20 Thread Philippe Lévi
nice! it worked fine! thanks Philippe De: fpc-pascal-boun...@lists.freepascal.org <fpc-pascal-boun...@lists.freepascal.org> em nome de Juha Manninen <juha.mannine...@gmail.com> Enviado: sábado, 20 de fevereiro de 2016 21:38 Para: FPC-

Re: [fpc-pascal] Lazarus Release 1.6

2016-02-20 Thread Philippe Lévi
... Thanks and sorry for may be useless messages! Philippe De: fpc-pascal-boun...@lists.freepascal.org <fpc-pascal-boun...@lists.freepascal.org> em nome de Philippe Lévi <phili...@quarta.com.br> Enviado: sábado, 20 de fevereiro de 201

Re: [fpc-pascal] Lazarus Release 1.6

2016-02-20 Thread Philippe Lévi
of the list (ordered by name) ... and Lazarus does not appear ... appreciate any tip! Philippe De: fpc-pascal-boun...@lists.freepascal.org <fpc-pascal-boun...@lists.freepascal.org> em nome de Martin <f...@mfriebe.de> Enviado: sábado, 20 de feve

Re: [fpc-pascal] Lazarus Release 1.6

2016-02-20 Thread Philippe Lévi
reinstalled with clean option ... it looks ok now! thanks again Philippe De: fpc-pascal-boun...@lists.freepascal.org <fpc-pascal-boun...@lists.freepascal.org> em nome de Martin <f...@mfriebe.de> Enviado: sábado, 20 de fevereiro de 2016 12:

Re: [fpc-pascal] Lazarus Release 1.6

2016-02-20 Thread Philippe Lévi
Assunto: Re: [fpc-pascal] Lazarus Release 1.6 On 20/02/2016 13:30, Philippe Lévi wrote: > I may have missed something > > I installed lazarus from lazarus-1.6.0-fpc-3.0.0-win64.exe > > everything seem to have been installed well. > > but when I start Lazarus ... it requir

Re: [fpc-pascal] Lazarus Release 1.6

2016-02-20 Thread Philippe Lévi
n to clean this situation? thanks Philippe De: fpc-pascal-boun...@lists.freepascal.org <fpc-pascal-boun...@lists.freepascal.org> em nome de Mattias Gaertner <nc-gaert...@netcologne.de> Enviado: quinta-feira, 18 de fevereiro de 2016

Re: [fpc-pascal] New feature: IfThen() intrinsic

2016-02-01 Thread Philippe Lévi
iif ... sounds good to me! +1 ! Philippe De: fpc-pascal-boun...@lists.freepascal.org <fpc-pascal-boun...@lists.freepascal.org> em nome de Marco van de Voort <mar...@stack.nl> Enviado: segunda-feira, 1 de fevereiro de 2016 16:22 Para: FPC-

Re: [fpc-pascal] New feature: IfThen() intrinsic

2016-02-01 Thread Philippe Lévi
I thought about "condEval( cnd, true, false);" we are looking for a name of a function ... and "if" is a statment ... variations of "if" still have the flavour of statment name ... Philippe De: fpc-pascal-boun...@lists.fr

Re: [fpc-pascal] fpGUI Toolkit v1.4.1 released

2015-09-04 Thread Philippe Lévi
eepascal.org Assunto: Re: [fpc-pascal] fpGUI Toolkit v1.4.1 released On 2015-09-03 01:42, Philippe Lévi wrote: > > what about emails I sent a week ago? I'll get back to you as soon as I can... the weekend. > (some stuffs could have been inserted in the release ... may be!). There is

Re: [fpc-pascal] fpGUI Toolkit v1.4.1 released

2015-09-02 Thread Philippe Lévi
of predefined colors shown on colorwheel and valuebar Change saturation and value to 0-100 and value name to brightness Allow tabtext color setting Anchors label "Height" in case of resizing Philippe Lévi (2): richview: correctly typecast result in TLayoutLineLi

[fpc-pascal] TBGRABitmap / bounds

2015-07-21 Thread Philippe Lévi
bounds of text generated by TextOut. Is it avalaible somewhere? thank for any hint Philippe ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Use sleep in thread

2015-02-25 Thread Philippe Lévi
synchronising tools do not do what you want? De: fpc-pascal-boun...@lists.freepascal.org fpc-pascal-boun...@lists.freepascal.org em nome de Xiangrong Fang xrf...@gmail.com Enviado: quarta-feira, 25 de fevereiro de 2015 12:33 Para: FPC-Pascal users discussions

Re: [fpc-pascal] TThread.Queue vs TThread.Synchronize

2015-02-23 Thread Philippe Lévi
I thought it was not possible to use local procedure address as parameter like in queue( @SyncOnPrint); as Clecio showed ... De: fpc-pascal-boun...@lists.freepascal.org fpc-pascal-boun...@lists.freepascal.org em nome de Sven Barth

Re: [fpc-pascal] TThread.Queue vs TThread.Synchronize

2015-02-23 Thread Philippe Lévi
what you want to do makes sense? I don't think so. Thread code may not access stack values of calling code ... De: fpc-pascal-boun...@lists.freepascal.org fpc-pascal-boun...@lists.freepascal.org em nome de silvioprog silviop...@gmail.com Enviado:

Re: [fpc-pascal] raw printing throught USB port / WINDOWS

2015-01-13 Thread Philippe
(matricial win32 or win64. apreciate any ideia thanks Philippe - I have been busy with other stuff ... back to this topic! First: could anyone tell me I have the possibility to access USB printer in raw mode with the basic FPC package (not using Lazarus packages

[fpc-pascal] windows handle

2015-01-09 Thread Philippe
to Mplayer (through -wid parameter? ... I am not sure)? appreciate any hint! Philippe ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] raw printing throught USB port / WINDOWS

2014-12-16 Thread Philippe
I need a solution (unit?) to access printer (matricial like LX80, LX300 and so on) in raw mode throught USB port directly from FPC program build in mode win32 or win64. apreciate any ideia thanks Philippe ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] raw printing throught USB port / WINDOWS

2014-12-16 Thread Philippe
Em 16.12.2014 09:27, LacaK escreveu: You can use: Printer.RawMode := True; Printer.BeginDoc; Printer.EndDoc; -Laco. Thank you, but that the part I already knew (saw it searching in Google). The question is how to select the USB port and create Printer ( win32/win64 ). Links:

Re: [fpc-pascal] raw printing throught USB port / WINDOWS

2014-12-16 Thread Philippe
: 5px; width: 100%; I need a solution (unit?) to access printer (matricial li 32 or win64. apreciate any ideia thanks Philippe - ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] red( clGrayText)

2014-12-02 Thread Philippe
Em 01.12.2014 22:42, Mattias Gaertner escreveu: On Mon, 01 Dec 2014 22:01:15 -0200 Philippe phili...@quarta.com.br wrote: [...] http://wiki.lazarus.freepascal.org/Colors#System_colors [1][1] I have seen it ... but did not catch that it may not work with red( x) ... making it more

[fpc-pascal] red( clGrayText)

2014-12-01 Thread Philippe
using -Cr (Range Check) option, red( clGrayText) as example, throw an exception! how should I program red (or green, blue and may be some others) functions to avoid that? should I write red( clGrayText and $ff) ? ... another better way? Philippe

[fpc-pascal] -CR option and simplehtmltreeparser

2014-12-01 Thread Philippe
compiling simplehtmltreeparser with -CR option I get: F:lazaruscomponentsinternettoolsdatasimplehtmltreeparser.pas(591,13) Error: Incompatible type for arg no. 2: Got Class Of INamespace, expected TClass here is the line .. function TNamespaceList.getNamespace(i: integer): INamespace;

Re: [fpc-pascal] red( clGrayText)

2014-12-01 Thread Philippe
Em 01.12.2014 20:04, Mattias Gaertner escreveu: On Mon, 01 Dec 2014 15:17:04 -0200 Philippe phili...@quarta.com.br wrote: using -Cr (Range Check) option, red( clGrayText) as example, throw an exception! how should I program red (or green, blue and may be some others) functions to avoid

Re: [fpc-pascal] date formating dificulty

2014-11-19 Thread Philippe
Em 18.11.2014 10:27, Michael Van Canneyt escreveu: On Tue, 18 Nov 2014, Philippe wrote: Em 18.11.2014 09:49, Philippe escreveu: I wrote a program: - windows 8 32 bits - lazarus 1.2.4 ... fpc 2.6.4 then I copied it to another computer - windows 7 64 bits - lazarus 1.0.14 fpc 2.6.2

Re: [fpc-pascal] date formating dificulty

2014-11-19 Thread Philippe
Em 19.11.2014 12:17, Philippe escreveu: Em 18.11.2014 10:27, Michael Van Canneyt escreveu: On Tue, 18 Nov 2014, Philippe wrote: Em 18.11.2014 09:49, Philippe escreveu: I wrote a program: - windows 8 32 bits - lazarus 1.2.4 ... fpc 2.6.4 then I copied it to another computer - windows 7

Re: [fpc-pascal] date formating dificulty

2014-11-19 Thread Philippe
Em 19.11.2014 19:31, waldo kitty escreveu: On 11/19/2014 9:17 AM, Philippe wrote: I still don't know how to use at the same time formatStr and FormatSettings in FormatDateTime. i'm not sure i understand your delima... perhaps you are trying to determine how the FormatSettings work

[fpc-pascal] date formating dificulty

2014-11-18 Thread Philippe
of good programming pratise of data formating to avoid bad surprise moving program from an OS to another ! Philippe Links: -- [1] http://www.freepascal.org/docs-html/rtl/system/tdatetime.html [2] http://www.freepascal.org/docs-html/rtl/sysutils/tformatsettings.html

Re: [fpc-pascal] date formating dificulty

2014-11-18 Thread Philippe
Em 18.11.2014 09:49, Philippe escreveu: I wrote a program: - windows 8 32 bits - lazarus 1.2.4 ... fpc 2.6.4 then I copied it to another computer - windows 7 64 bits - lazarus 1.0.14 fpc 2.6.2 and got into trouble with dates format! programs behave diferent way

Re: [fpc-pascal] date formating dificulty

2014-11-18 Thread Philippe
Em 18.11.2014 10:27, Michael Van Canneyt escreveu: On Tue, 18 Nov 2014, Philippe wrote: Em 18.11.2014 09:49, Philippe escreveu: I wrote a program: - windows 8 32 bits - lazarus 1.2.4 ... fpc 2.6.4 then I copied it to another computer - windows 7 64 bits - lazarus 1.0.14 fpc 2.6.2

[fpc-pascal] fphttpclient and timeout

2014-10-24 Thread Philippe
Using basically HTTPClient.Get, I did not find time out configuration with fphttpclient. Did I missed it? If not, is there a way to implement it ? Using thread? If not, is there a similar library/unit with configurable timeout? I appreciate any suggestion! Philippe

Re: [fpc-pascal] fphttpclient and timeout

2014-10-24 Thread Philippe
Em 24.10.2014 09:41, Michael Van Canneyt escreveu: On Fri, 24 Oct 2014, Philippe wrote: Using basically HTTPClient.Get, I did not find time out configuration with fphttpclient. Did I missed it? it does not exist yet. If not, is there a way to implement it ? Using thread

Re: [fpc-pascal] fphttpclient and timeout

2014-10-24 Thread Philippe
Em 24.10.2014 09:54, silvioprog escreveu: On Fri, Oct 24, 2014 at 8:41 AM, Michael Van Canneyt mich...@freepascal.orgwrote: On Fri, 24 Oct 2014, Philippe wrote: Using basically HTTPClient.Get, I did not find time out configuration with fphttpclient. Did I missed it? it does

Re: [fpc-pascal] Free Pascal Directories

2014-10-03 Thread Philippe
03.10.2014 18:53, Sven Barth escreveu: Am 03.10.2014 03:37 schrieb Philippe phili...@quarta.com.br: @cfg I read about that option in a previous message of the thread ... clearly a better ideia!!! ... I´ll use it for sure! taking advantage of the oportunity. when one type fpc in the command

Re: [fpc-pascal] Free Pascal Directories

2014-10-02 Thread Philippe
bad ideia : (with windows we have a limite from the command line size!) I copy recursively all the files from directories I need in a unique directory ... then compile from it!!! ugly! ... may be ... but it works !!! recursively!!! and it is quite fast to copy ... and I spent time in

Re: [fpc-pascal] Free Pascal Directories

2014-10-02 Thread Philippe
schrieb Philippe phili...@quarta.com.br: bad ideia : (with windows we have a limite from the command line size!) If you can't work with 8000 characters then simply use a cfg file and pass that. It's not as if you change your paths every hour... Regards, Sven

Re: [fpc-pascal] Free Pascal Directories

2014-10-01 Thread Philippe
! abraço! Philippe Em 01.10.2014 02:30, leledumbo escreveu: That's not what Brian asked for. He asked whether he can use multiple directories, not whether he can use them recursively. And the former is definitely the case. And indeed it's a disaster, because you might to restructure your

Re: [fpc-pascal] Free Pascal Directories

2014-09-30 Thread Philippe
some days before we had same type of thread ... the problem is -Fu is not recursive! Em 30.09.2014 11:07, Michael Van Canneyt escreveu: On Tue, 30 Sep 2014, Brian wrote: Having ported a large real-time graphical application from Virtual Pascal (DPMI) to Free Pascal Linux , there is

Re: [fpc-pascal] Hack for C-like macro functions — will it work in future?

2014-09-24 Thread Philippe
-OoREMOVEEMPTYPROCS interesting! why is it not available in Lazarus through all options window (in project options / customizable options)? (not sure about the names ... I have opções personalizadas and todas as opções!) Philippe Em 24.09.2014 06:17, Sven Barth escreveu: Am

Re: [fpc-pascal] Hack for C-like macro functions — will it work in future?

2014-09-24 Thread Philippe
and I am with 2.6.4 thanks! Em 24.09.2014 07:28, Mattias Gaertner escreveu: On Wed, 24 Sep 2014 07:12:44 -0300 Philippe phili...@quarta.com.br wrote: -OoREMOVEEMPTYPROCS interesting! why is it not available in Lazarus through all options window (in project options / customizable

Re: [fpc-pascal] with statement using mulltiple objects

2014-09-16 Thread Philippe
could the compiler avoid with pitfalls? now the compiler attach a property to the closest with where it finds it. the compiler could check if the property appears in another with of the with stack and produce a message (hint, warning or error, which may be configurated). is not it a way

Re: [fpc-pascal] with statement using mulltiple objects

2014-09-16 Thread Philippe
configure it!) Philippe Em 16.09.2014 09:48, Frederic Da Vitoria escreveu: 2014-09-16 14:42 GMT+02:00 Sven Barth pascaldra...@googlemail.com: Am 16.09.2014 12:37 schrieb Mattias Gaertner nc-gaert...@netcologne.de: On Tue, 16 Sep 2014 07:26:24 -0300 Philippe phili...@quarta.com.br wrote

Re: [fpc-pascal] with statement using mulltiple objects

2014-09-16 Thread Philippe
time to many people (as one of the developper wrote) ... and still may save. But as it has been written ... we may be out of subject! Philippe Em 16.09.2014 11:08, Ewald escreveu: On 09/16/2014 03:41 PM, Philippe wrote: I imagine that who really want to get rid from the hint ... don´t

Re: [fpc-pascal] with statement using mulltiple objects

2014-09-14 Thread Philippe
-1. !!! I like with ... even it may give trouble times to times!!! ... but I work alone on my programs ... as always ... nothing perfect! always should consider the conditions!! Em 14.09.2014 09:30, Michael Thompson escreveu: We have spend weeks (if not months) off hunting

Re: [fpc-pascal] with statement using mulltiple objects

2014-09-14 Thread Philippe
this turn it safe, or safer? Philippe Em 14.09.2014 12:06, Martin Schreiber escreveu: On Sunday 14 September 2014 16:34:06 Marco van de Voort wrote: In the past I had the same opinion about with (WITHs evilness is exaggerated) as many others, but once I bumped my head a few times while using

Re: [fpc-pascal] with statement using mulltiple objects

2014-09-14 Thread Philippe
someone wrote about a better performance using with. is that true? even with a simple pointer as in: with ptr^ do begin prop1 := ... prop2 := ... end; which should be faster then ptr^.prop1 := ... ptr^.prop1 := ... others wrote it is just usefull to save writing time ... Em

Re: [fpc-pascal] Elegant way to switch sort mechanism in TSortedCollection?

2014-03-12 Thread Philippe
using the example at http://acm.msu.ru/mkoshp/fpc/rtl/objects/tsortedcollection.html may something this way ... Type TMethod = ( method_type_1, method_type_2, method_type_3); PMySortedCollection = ^TMySortedCollection; TMySortedCollection = Object(TSortedCollection) method : TMethod;

Re: [fpc-pascal] Elegant way to switch sort mechanism in TSortedCollection?

2014-03-12 Thread Philippe
then a new collect to be sort with different method ... 2014-03-12 21:56 GMT+01:00 Jim Leonard trix...@oldskool.org:Em 12.03.2014 19:06, Frederic Da Vitoria escreveu: On 3/12/2014 2:30 PM, Philippe wrote: Type TMethod = ( method_type_1, method_type_2, method_type_3); Ah, clever -- create

Re: [fpc-pascal] freepascal community and USB printing

2014-02-07 Thread Philippe
no problem ... may be could be informed at the messages bottom ... new topic: create a new message ... Em 06.02.2014 22:47, waldo kitty escreveu: On 2/6/2014 2:45 PM, Philippe wrote: so ... sorry again (I didn´t know it could make a difference) ... thanks and no problem... frederic's

Re: [fpc-pascal] windows title

2014-02-06 Thread Philippe
compiling for targets win32 and win64, I´ld like to change the window title, the window opened by cmd.exe program x; uses ?; begin y( 'MY TITLE'); end. I didn´t find anything in the windows unit Thanks for help! Philippe ___ fpc-pascal

Re: [fpc-pascal] windows title

2014-02-06 Thread Philippe
just simple like that ... works perfectly as I need ... I had searched (but searching freepascal) and found something ... more complicated ... thank´s a lot. Philippe Em 06.02.2014 12:29, Tomas Hajny escreveu: On Thu, February 6, 2014 15:16, Philippe wrote: compiling for targets

Re: [fpc-pascal] windows title

2014-02-06 Thread Philippe
sorry ... I´ll do it next time ... Em 06.02.2014 15:58, waldo kitty escreveu: On 2/6/2014 9:16 AM, Philippe wrote: compiling for targets win32 and win64, I´ld like to change the window title, the window opened by cmd.exe please do not hijack other people's topics to ask an unrelated

Re: [fpc-pascal] freepascal community and USB printing

2014-02-06 Thread Philippe
so ... sorry again (I didn´t know it could make a difference) ... Em 06.02.2014 15:59, waldo kitty escreveu: On 2/6/2014 9:24 AM, Philippe wrote: searching for raw printing to usb printer ... I found that some stuff has been posted in the community forum ... which looks to be out

Re: [fpc-pascal] freepascal community and USB printing

2014-02-06 Thread Philippe
remains. This allows some mail clients (for example Thunderbird) to show the mails in a tree structure, like on a forum. 2014-02-06 Philippe phili...@quarta.com.br: so ... sorry again (I didn´t know it could make a difference) ... Em 06.02.2014 15:59, waldo kitty escreveu: On 2/6/2014 9:24

Re: [fpc-pascal] Optimisation : X+X or 2*X or X*2 ?

2014-01-19 Thread Philippe
forgot X shl 1 normaly the fastest ... Em 19.01.2014 17:47, Ched escreveu: Dear Freepascalers, The multiplication in floating arthmetic units is usualy know as being slower than the addition. So, have I interest to code X+X, 2*X or X*2 when using reals (mainly double and extended)

Re: [fpc-pascal] win64 / zipper fphttpclient

2014-01-17 Thread Philippe
if any) available for ppcrossx64? Thanks Philippe S. Lévi ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: build a compiler for GO32v2 under Windows 8 (or 7)

2013-10-08 Thread Philippe
really thanks, but my needs are quite basic, and I found my way. but I keep the link ... me be usefull later! Thanks Philippe On Tue, 8 Oct 2013 06:07:44 -0500, Michal Wallace wrote: On Oct 5, 2013 2:34 PM, Philippe wrote: Problem!(?) ... I was using window, gotoxy and so

Re: [fpc-pascal] Re: build a compiler for GO32v2 under Windows 8 (or 7)

2013-10-06 Thread Philippe
it compiles and links ... still a lot of stuff to write and a bunch to adjust first tests ... first suprises!!! but it compiles and runs ... till the fisrt bug during first steps ... Philippe On Sat, 5 Oct 2013 22:48:09 +0200, Tomas Hajny wrote: On Sat, October 5, 2013 21:34

Re: [fpc-pascal] Re: build a compiler for GO32v2 under Windows 8 (or 7)

2013-10-05 Thread Philippe
program. I missed SetCursorPos ... thanks a lot My first step, anyway, is to verify it is compiling for win32! ... later I´ll make more changes and all the adjustments. Philippe On Sat, 5 Oct 2013 22:48:09 +0200, Tomas Hajny wrote: On Sat, October 5, 2013 21:34, Philippe wrote: I am

Re: [fpc-pascal] Re: build a compiler for GO32v2 under Windows 8 (or 7)

2013-09-23 Thread Philippe
sorry ... delayed answer ... I don´t felt very well these days and this subject is a bit difficult for me ... but I will give time this week to read all I received ... and find out a way ... I´ll write later this week any way, I thank you very much all for your help! Philippe On Thu

Re: [fpc-pascal] Re: Problems reading some of the messages from this mailing list

2013-09-23 Thread Philippe
I changed the webmail configuration to MIME / 8 bits ... I hope it helps! Philippe On Mon, 23 Sep 2013 15:06:00 +0200, Guillermo Martínez wrote: From: Tomas Hajny That should not be an issue by itself. The more likely reason is probably use of 8-bit message (utf-8) without encoding

[fpc-pascal] Re: build a compiler for GO32v2 under Windows 8 (or 7)

2013-09-19 Thread Philippe
documentation about the compiler and how to build it? I appreciate any help. -- Philippe ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Generating code form xmi files

2009-04-05 Thread Philippe Martinole
It seem there is nothing available. If it is confirmed, I'll try to write something. I'll have a lot of time because I'm stoping World of Wordcraft :) Philippe ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org

Re: [fpc-pascal] Generating code form xmi files

2009-04-02 Thread Philippe Martinole
/wiki/XML_Metadata_Interchange and I want to gererate my data structures from my uml diagrams I would be suprised if nothing already exists Philippe ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo