Re: [fpc-pascal] Moving to gitlab.

2021-07-22 Thread John Lee via fpc-pascal
I use viewvc to look at repository - is there an equivalent when everyting is on gitlaB? tia john On Thu, 22 Jul 2021 at 13:32, Michael Van Canneyt via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > > Hello, > > Some of you may have seen this on the lazarus list: >

Re: [fpc-pascal] Raspberry PI download

2020-08-14 Thread John Lee via fpc-pascal
Bo, don't think suggesting people should do it themselves (not very easy) is v helpful.- Carsten clearly wanted a precompiled version so just tell him where there is one! j. On Thu, 13 Aug 2020 at 21:27, Bo Berglund via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > On Thu, 13 Aug 2020

Re: [fpc-pascal] Default record const values

2018-11-13 Thread John Doe
On Mon, Nov 12, 2018 at 1:51 AM Sven Barth via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > The compiler now correctly rejects such declarations with a "Type is > not completely defined error". > Making this not work is a ridiculous removal of a feature for no logical reason that

[fpc-pascal] No breakpoint capability

2018-08-26 Thread john youngquist
I updated to FPC 3.0.4 and can't get breakpoints to work. I get a "can't set breakpoint message" on all lines. I am in debug mode and have "generate debug information" enabled. This all worked fine in the previous version. I have searched all the documentation I can find and can't even find

Re: [fpc-pascal] Operator overload bug

2018-07-28 Thread John Doe
On Mon, Jul 23, 2018 at 1:49 PM, Sven Barth via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > Ryan Joseph schrieb am Mo., 23. Juli 2018, > 17:35: > >> >> > On Jul 23, 2018, at 12:00 AM, Sven Barth via fpc-pascal < >> fpc-pascal@lists.freepascal.org> wrote: >> > >> > Yes, it's a bug, so

[fpc-pascal] Free Pascal Setup

2017-05-06 Thread John van der Linden
, there is nothing about installing this thing, where is Setup. This whole project is very diss appointing so far, can you help me. As the idea sounds very interesting. Kind regards, John van der Linden ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

[fpc-pascal] Mouse, scroll wheel support?

2016-06-29 Thread John Youngquist
Is there a non Lazarus means of accessing the mouse, and scroll wheel? I have an app that uses some old driver which doesn't address the wheel. I'm trying to make the wheel work. I have tried SDL and the demo code works but it seems to work only in an externally created window. I can't find any

Re: [fpc-pascal] IfThen() intrinsic removed

2016-02-04 Thread John Lee
luddite_clique 1 progressives 0 On 4 February 2016 at 19:25, Sven Barth wrote: > Hello together! > > The IfThen() intrinsic has been removed again. There will be *no* > replacement in the foreseeable future. This is not up for discussion. > > Regards, > Sven >

Re: [fpc-pascal] if-then-else expression

2016-02-02 Thread John Lee
So (Sven) to clarify, assume that your original ifthen [patch is now in latest svn compiler although more work will needed to do x:=if a then b else c;? j On 2 February 2016 at 18:33, Sven Barth wrote: > On 02.02.2016 10:25, Michael Schnell wrote: > > On 02/01/2016

Re: [fpc-pascal] if-then-else expression

2016-02-02 Thread John Lee
Based on Florian's recent emails the if then else is ok, so guess we should be close to getting it all running. Great, thanks for your efforts. j On 2 February 2016 at 20:55, Sven Barth <pascaldra...@googlemail.com> wrote: > On 02.02.2016 20:22, John Lee wrote: > > So (Sven) to

Re: [fpc-pascal] arm-linux for Raspberry 1 FPC 3.0.0-rc1 release

2015-09-03 Thread John Lee
Which rpi flavours should it work for, 1 or 2? Still doesn't work (can't extract) for me on rpi 2 running jessie. What commands should I try after download? John On 2 September 2015 at 18:30, Mark Morgan Lloyd < markmll.fpc-pas...@telemetry.co.uk> wrote: > Jonas Maebe wrote: >

Re: [fpc-pascal] arm-linux for Raspberry 1 FPC 3.0.0-rc1 release

2015-09-01 Thread John Lee
Is this tar ok? - anyone used it successfully? Getting 'not a tar file' error on my rpi. john On 1 September 2015 at 00:03, Pierre Muller <pie...@freepascal.org> wrote: > On Thu, August 27, 2015 06:55, Martin Schreiber wrote: > > On Wednesday 26 August 2015 20:14:09 Mark Mor

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-30 Thread John Lee
know if I can help with more testing. What's plan? btw, dont think the rc1 release notes make status clear. john On 29 August 2015 at 19:50, John Lee johnel...@gmail.com wrote: What is fix please? I noticed Jonas committed a link patch to svn today. Does that fix it? If so can pls you provide

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-30 Thread John Lee
, as the great man is supposed to have said, and release rpi compilers in 3.0.0 (as betas if necessary) - there are a lot of them out there.. john On 30 August 2015 at 13:22, Jonas Maebe jonas.ma...@elis.ugent.be wrote: On 30/08/15 14:11, John Lee wrote: Not clear about rpi compilers for rc1

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-29 Thread John Lee
Just downloaded the non debug version onto my rpi 2. Extracted - 6 files in /bin, including fpc but it is 2.6.4 not 3.0. Any ideas? Is there a rc1 .gz anywhere? John On 29 August 2015 at 10:55, Martin Schreiber mse00...@gmail.com wrote: On Friday 28 August 2015 10:30:24 Mark Morgan Lloyd wrote

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-29 Thread John Lee
Dohhh, still getting 2.6.4. Did you mean ppcarm? Downloaded fpc_eabihf_3_0_1.tar.gz, extracted If I cd to eabihf/lib/fpc/3.0.1 there is ppcarm of 14th Aug there but running ppcarm still gives 2.6.4! Or should I do exec ppcarm? John On 29 August 2015 at 12:52, Martin

Re: [fpc-pascal] Cross compile from x86 to Pi

2015-08-18 Thread John Lee
Did I miss something? - where does it it get the rtl compiler source? TIA John On 18 August 2015 at 16:27, Chris Moody inqu...@greensnakedesign.com wrote: On 08/18/2015 01:24 AM, Michael Ring wrote: This is how I build fpc trunk cross compiler: echo Building fpchf-linux from trunk

Re: [fpc-pascal] Failed compiling SVN source on Raspi 1 B+

2015-03-04 Thread John Lee
No, article you referred to in original post is about rpi 2. Can't see mentioned where you got the fpc from either. Let's hope that we can get fpc 2.6.4 and 3.1.1 working on rpi 1 and rpi 2. john On 3 March 2015 at 03:14, Bee bee.ogra...@gmail.com wrote: If you read the article, it's clearly

Re: [fpc-pascal] Failed compiling SVN source on Raspi 1 B+

2015-03-01 Thread John Lee
Confused re what bee is using. Line 1 of the email says rpi 1 whereas later he refers to rpi 2 article.. Which 'v2.6.4 linuxarm' package is referred to in the email, from which repo? That from svn apt-get install fpc or another? How installed? Be interested in progress with v3.1.1 John

Re: [fpc-pascal] Failed compiling SVN source on Raspi 1 B+

2015-02-28 Thread John Lee
or some other package - where from? Are you running wheezy or jessie? Please let us know whether you can get svn 3.1.1 to build what the build instructions are.. TIA John On 28 February 2015 at 03:42, Bee bee.ogra...@gmail.com wrote: Hi, I just got my Raspberry 1 B+ and I wanted to install

Re: [fpc-pascal] arm-linux (raspberry pi)

2014-07-01 Thread John Lee
as a zip or whatever? I can provide an ftp site for you. TIA john On 1 July 2014 14:14, Fabio Luis Girardi fluisgira...@gmail.com wrote: Hi all!! First (tests made on ARMHF): I did tests with latest FPC, built from trunk. The trouble persists. A simple program can't load a simple shared

[fpc-pascal] executeprocess help

2014-03-26 Thread John Lee
John ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] invalid floating point

2014-01-12 Thread John Lee
does linear regression calcs. I've normally got more line no info for fpu problems eg the line in regress at which it went wrong, which would be helpful. Have the defaults re line nos changed in latest 2.7.1s?. Do I have to compile with -vl to get more info? Any ideas on how to fix welcome. John

Re: [fpc-pascal] Efficient String concatenation

2013-10-30 Thread John Lee
' by few statements - which I'd thought it does already to some extent. Think I saw email where you said 'few' months - that is soon in context of fpc and even more in the context of significant fpc changes, so not 'gross overstatement'! John On 29 October 2013 17:32, Jonas Maebe jonas.ma

Re: [fpc-pascal] Powtils: lightwebserver, lightwebserver2 or lightwebserver3?

2013-10-29 Thread John Lee
Is this assessment valid for win or linux or both? J On 28 October 2013 13:22, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: On Monday 28/10/2013 at 15:03, silvioprog wrote: So, which one is recommended to be used in production? Having recently (and currently still) doing extensive

Re: [fpc-pascal] Efficient String concatenation

2013-10-29 Thread John Lee
Did you try any other fpc compiler optimisation settings? No expert, but looks like it isn't too difficult for compiler to spot this. What about llvm - (coming soon to fpc apparently) - would that fix it? John On 29 October 2013 13:22, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: Hi

Re: [fpc-pascal] Re: read cells contents from .xls file

2013-10-02 Thread John Lee
help. John On 2 October 2013 09:44, Reinier Olislagers reinierolislag...@gmail.comwrote: On 01/10/2013 21:44, John Lee wrote: Thanks for all suggestions. IMO fpspread...pas is too complex for I'd need to hack thro' thousands of lines - maybe a simple program to read xls into csv, as in b

Re: [fpc-pascal] Re: read cells contents from .xls file

2013-10-02 Thread John Lee
I have it and use it - but not lazarus. But using some legacy 2.2.2 libraries w/o source want it to work there. Even with latest fpc it didn't seem very easy to get sheet data into csv, I couldn't follow the examples in fpspread..., seemed to need lots of lazarus stuff n units that I didn't

Re: [fpc-pascal] read cells contents from .xls file

2013-10-01 Thread John Lee
, with one or two units 'used', isn't possible but there seem to be millions of lines here. Is there an example of reading cells from named spread that you could point to? John On 1 October 2013 08:44, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: The source code

Re: [fpc-pascal] read cells contents from .xls file

2013-10-01 Thread John Lee
from that http://stackoverflow.com/questions/1858195/convert-xls-to-csv-on-command-line This is the way I'm doing it, running the vbs file from cmd using exec etc, simple if crude!. john On 1 October 2013 12:15, John Lee johnel...@gmail.com wrote: Thanks - as you say (with nice irony

[fpc-pascal] read cells contents from .xls file

2013-09-30 Thread John Lee
File produced by excel 2003. Can anyone tell me the basic ideas, formats, pitfalls - I'd just like to write a short routine don't want to fight with the complexities of the lazarus based stuff. Prepared to experiment... TIA John ___ fpc-pascal maillist

Re: [fpc-pascal] read cells contents from .xls file

2013-09-30 Thread John Lee
some info for a quick hack eg some bullets or some idea what I need to do eg to read the no or string in eg cell x23 of sheet jim in fred.xls. John On 30 September 2013 16:38, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: You mean like this library does? http

[fpc-pascal] Could not set breakpoint

2013-09-05 Thread John Youngquist
I am running v2.4.4. I get could not set breakpoint messages on ordinary lines of code. What causes this? How do I fix it? Thanks. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Could not set breakpoint

2013-09-05 Thread John Youngquist
I use Alt d b or cntrl f8. No smart-linking. XP 32 bit Pentium I had generate also backtrace on (don't know why) I changed to just generate debug symbol and now it seems to work. Thanks JY On 9/5/2013 11:45 AM, Martin wrote: On 05/09/2013 16:18, John Youngquist wrote: I am running v2.4.4. I

[fpc-pascal] Cross compiling Windows to arm-linux

2013-07-23 Thread John Hansen
that.  But how do I accomplish that feat? John Hansen ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] using mtprocs

2013-04-18 Thread John Lee
take 30 secs or so. Is using mtprocs as in http://wiki.lazarus.freepascal.org/Parallel_procedures#Getting_MTProcs the best way to do this? Or threads. Any other ideas? John ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

[fpc-pascal] compiling mtprocs

2013-04-18 Thread John Lee
) Error: No member is provided to access property mtprocs.pas(880) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted line 344 is: CurrentThread:=Self; Do I need something else with 2.7? John ___ fpc-pascal maillist - fpc

Re: [fpc-pascal] compiling mtprocs

2013-04-18 Thread John Lee
not a lazarus'er so I just followed the wiki info - so the svn ... line in the wiki which I used to get mtprocs.pas is wrong? Where do I get the fixed one? John ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman

Re: [fpc-pascal] using mtprocs

2013-04-18 Thread John Lee
:\live_sol\ans.dat'); exit; end; for i:=1 to Index*100 do ; // do some work end; begin ProcThreadPool.DoParallel(@DoSomethingParallel,1,5,nil); // address, startind♦ //main prog eg capturing the xml for j:=1 to 10 do begin write(j,' '); sleep(1); end; end. John I have a program

Re: [fpc-pascal] [OT] Re: Feature proposal: function-based assignment operatorst

2013-04-04 Thread John
that would be more convenient.) ps Hope I have kept track of the context of the thread, it has been a long one ... cheers, John Sunderland ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc

Re: [fpc-pascal] Get variable name at runtime

2013-03-06 Thread John Lee
So, why can't we have a get_name() type routine, so everyone can use it, not just those who can write pascal macros? J Unfortunately pascal macro's are rather limited compared to C. I know I know, you could potentially open up a can of worms, but sometimes more control is required. There is

Re: [fpc-pascal] Re: fpc registry unit

2013-03-02 Thread John Lee
On 2 March 2013 02:05, leledumbo leledumbo_c...@yahoo.co.id wrote: Registry is not part of rtl because it's not a base unit??? This is my point it uses 200 other f*** units that aren't really needed! YOU don't use those 200 units, but the UNIT YOU USE needs them. Get the point? Even though

[fpc-pascal] optimisation v2.2.2

2013-03-01 Thread John Lee
to make much/any difference. There used to be keyhole optimising in fpc but don't see that in v2.2.2. What about using -Oppentium3 or -Oppentium4? - they don't seem to make any difference either. Anyone any ideas/comments re how to speed up strings? John

[fpc-pascal] fpc registry unit

2013-03-01 Thread John Lee
; export; John ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: fpc registry unit

2013-03-01 Thread John Lee
Thanks - just want a simple unit, I'm not using lazarus. If I go to this directory and try to compile registry with v2.6.2, win32, it then uses inifiles so that's needed and not part of the fpc 2.6.2 distribution afaik. Where can I find that please? John On 1 March 2013 17:52, leledumbo

Re: [fpc-pascal] Re: fpc registry unit

2013-03-01 Thread John Lee
... as the great man said!. John On 1 March 2013 19:06, Sven Barth pascaldra...@googlemail.com wrote: On 01.03.2013 19:57, John Lee wrote: Thanks - just want a simple unit, I'm not using lazarus. If I go to this directory and try to compile registry with v2.6.2, win32, it then uses inifiles so that's

Re: [fpc-pascal] Re: fpc registry unit

2013-03-01 Thread John Lee
is that the size of the .exe On 1 March 2013 21:55, Sven Barth pascaldra...@googlemail.com wrote: On 01.03.2013 21:57, John Lee wrote: Thanks all for your help - found the .ppu and .o at last - I note than inifiles itself needs some other stupid unit! ! I think you'll agree it is all more than somewhat

Re: [fpc-pascal] differences between .pp and .pas files

2013-02-25 Thread John Coppens
simpler. It's mostly not the editors that have a bug, but nobody submitted a syntax file for .pp. It has been a while, but I believe that both gedit and geany, which are GtkSourceview-based, can be extended by simply copying the pas personalization file to a pp version. Same for 'joe'. John

Re: [fpc-pascal] xmlConfig Documentation

2013-01-17 Thread John
On 01/17/2013 08:38 PM, Reinier Olislagers wrote: John, it would be great if you could write something on that wiki page... Not aware of existing docs either... Done. See http://wiki.lazarus.freepascal.org/xmlconf. In doing this, a few extensions come to mind: 1) Ability to set the string

[fpc-pascal] xmlConfig Documentation

2013-01-16 Thread John
of the more formal documentation systems ! Sorry. ) cheers, John Sunderland ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: GetTableNames in TSQLConnection / Postgresql

2012-12-21 Thread John
On 12/21/2012 10:37 PM, Tomas Hajny wrote: On Fri, December 21, 2012 11:59, Reinier Olislagers wrote: On 18-12-2012 10:49, Tomas Hajny wrote: On Tue, December 18, 2012 09:35, michael.vancanneyt-0is9kj9s...@public.gmane.org wrote: On Tue, 18 Dec 2012, John wrote: you can't! That brings me

Re: [fpc-pascal] GetTableNames in TSQLConnection / Postgresql

2012-12-18 Thread John
schemas for my tables.) cheers, John Sunderland ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] GetTableNames in TSQLConnection / Postgresql

2012-12-16 Thread John
for now at least I had better just go down the path of deriving my own tPQConnection descendant. cheers, John Sunderland ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] GetTableNames in TSQLConnection / Postgresql

2012-12-15 Thread John
to life! On 12/14/2012 09:53 PM, LacaK wrote: Hi John, Thus schema name is not selected for postresql, nor is it returned for any connection. as only the field specified by AReturnField, in this case table_name, is added to the output list. Note that pg_class does not have an easy access

[fpc-pascal] GetTableNames in TSQLConnection / Postgresql

2012-12-13 Thread John
the infrastructure already exists to do all of these things. If this concept is acceptable I would be happy to work on patches for TSQLConnection and TPQConnection, but my knowledge of the other dbs varies from limited through out-of-date (Oracle) to none. cheers John Sunderland

[fpc-pascal] Error message: No matching implementation for interface method ...

2012-06-27 Thread John Repucci
I'm getting the below error messages and I suspect virtualstringtree / VirtualTrees.pas is the cause. The virtualtrees.pas line it objects to is: TVTDragManager = class(TInterfacedObject, IVTDragManager, IDropSource, IDropTarget)

[fpc-pascal] [ot] Some(paid) work to do in FreePascal

2012-03-03 Thread John Sewell
-Perform a check on a DNSBL ( http://www.spamhaus.org/dbl/ ) If you are interested please contact me with a price proposal Thanks, John ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Free Pascal 2.6.0 released!

2012-01-01 Thread John Coppens
! John ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] SSE 4.2 usage with FPC ?

2012-01-01 Thread John Sewell
to exchange data with my local variables ? Is there a tutorial somewhere or any asm guru who could give me some hints ? Thanks, John ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Why is Random(255) some 529x slower compared to Delphi 7?

2011-12-07 Thread John Lee
fpc archive. John On 7 December 2011 13:10, Graeme Geldenhuys graemeg.li...@gmail.com wrote: On 7 December 2011 14:54, Jonas Maebe wrote: That's correct. We use the mersenne twister, Delphi probably a linear congruential generator. The mersenne twister has a much larger period. OK

Re: [fpc-pascal] Why is Random(255) some 529x slower compared to Delphi 7?

2011-12-07 Thread John Lee
How does it compare re 'randomness' cf current fpc version? The wikipedia reference doesn't make this clear. Or the original fpc/delphi versions? Jonas? John On 7 December 2011 14:08, Inoussa OUEDRAOGO inouss...@gmail.com wrote: 2011/12/7 Peter pe...@pblackman.plus.com: Graeme, I would

[fpc-pascal] use synaser to output data to com port

2011-11-27 Thread John Lee
necessarily going to be read? Do I need to config this port within synaser? John ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Name of a var

2011-11-22 Thread John Lee
because the saves and restores have to be individually coded - with this capability it could be done, reliably, in a loop. John ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Name of a var

2011-11-22 Thread John Lee
Yes, there are many features not everybody needs. Yet they have to be chosen by some means (language design) and yet there will always be disagreement. No, do the minimum But remember each feature has a cost. Not only what it adds to your app (which it may well be worth), but also what

Re: [fpc-pascal] using functions from units main programme

2011-11-19 Thread John Lee
technically difficult to do. John On 18 November 2011 22:34, Bart bartjun...@gmail.com wrote: On 11/18/11, Sven Barth pascaldra...@googlemail.com wrote: But he wants to call fnb in the main program and have that call fna of the main program instead of fna from jim. You're right. I misread

[fpc-pascal] using functions from units main programme

2011-11-18 Thread John Lee
this before - is there a way I can force fnb to use the main program's version of fna, not the version that's in the unit? TIA John ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] using functions from units main programme

2011-11-18 Thread John Lee
, to _force_ fnb to use the fred version of fna? John On 18 November 2011 16:04, Sven Barth pascaldra...@googlemail.com wrote: Am 18.11.2011 16:49, schrieb John Lee: I have a normal fpc unit, call it jim, with 2 functions fna fnb . fnb uses internally fna. My main program, has a uses clause

Re: [fpc-pascal] using functions from units main programme

2011-11-18 Thread John Lee
Thanks for the fix, but it makes the code a bit more complicated than I'd hoped/thought based on my (over simple?) impression that local fns are used in place of those in units. John On 18 November 2011 16:55, Sven Barth pascaldra...@googlemail.com wrote: Am 18.11.2011 17:47, schrieb John Lee

[fpc-pascal] using a unit from an old version of fpc

2011-10-30 Thread John Lee
What is best way to do this - I have a unit from fpc 2.2 that I don't have the source for, that I want to use with code from a later version eg 2.4, 2.5.1 or 2.6. Can I access it via the use? Or just link to it? Tia for any ideas. John ___ fpc-pascal

RE: [fpc-pascal] Can't get error messages or anything with F12

2011-08-30 Thread John Youngquist
don't know who is at fault. JY -Original Message- From: John Youngquist [mailto:jo...@iaw.com] Sent: Friday, August 26, 2011 1:10 PM To: FPC-Pascal users discussions Subject: [fpc-pascal] Can't get error messages or anything with F12 I'm running 2.4.0 and can't get error messages

[fpc-pascal] Can't get error messages or anything with F12

2011-08-26 Thread John Youngquist
I'm running 2.4.0 and can't get error messages or anything from the F12 Compiler messages key. What am I doing wrong? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] How to detect serial/usb-serial ports.

2011-07-27 Thread John Lee
I use the synaser unit - works for fpc 2.4, win and I think for other o/s too - google for info - it has the capability to look for serial ports, set baud rates, and to do character block input output. hth John On 27 July 2011 09:22, P. vanderWal p.w...@quicknet.nl wrote: ** Hello, In my

[fpc-pascal] simple messagebox for windows

2011-07-05 Thread John Lee
sec timeout. Seems as if 'dialogs' has the functionality, but it not sure what other stuff I need to compile it. Alternatively maybe I should make my own using the windows api- anyone got a short example of this? Any ideas welcome... John ___ fpc-pascal

Re: [fpc-pascal] simple messagebox for windows

2011-07-05 Thread John Lee
. Anyone know if there is a messageboxtimeout or similar functionality in win or a fpc implementation of this? John uses windows; function MessageBoxtimeout(w1:longint;l1,l2:pointer;w2:longint;l,t:longint) :longint; stdcall; external 'user32' name 'MessageBoxtimeoutA'; function MessageBox(w1:longint;l1

Re: Re[6]: [fpc-pascal] read lines at end of file

2011-05-29 Thread John Lee
. John On 14 April 2011 16:03, José Mejuto joshy...@gmail.com wrote: Hello John, Thursday, April 14, 2011, 3:26:48 PM, you wrote: JL Hi there, thanks for this - looks a very complete function. I hadn't JL realised that best way would be to use streaming! I'm trying to write a 3 JL line

[fpc-pascal] accessing files from a function

2011-05-16 Thread John Lee
handles etc are local to the function are volatile, so cannot be accessed in the main program Is there a simple way to fix this ie to make this function work. Of course one can const in a function to make normal variables non volatile...but files etc? TIA for any ideas...John main program

[fpc-pascal] fpc graph

2011-05-02 Thread John Lee
it, plus short example program, eg of plotting simple lines/sine wave? There are no examples in the svn. TIA John ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] delphi compatibility

2011-04-21 Thread John Lee
Just downloaded tried to registry.pas - for accessing win registry. It uses SysUtils, WinTypes, WinProcs, Messages, Classes,ShellAPI My standard v242 fpc win compiler/rtl doesn't have these wintypes, winprocs or messages. Where are these why aren't they there by default? Are they delphi? John

[fpc-pascal] read lines at end of file

2011-04-11 Thread John Lee
fast so guess there must be a fast way to do it in pascal too? TIA for any ideas John ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] com port using prolific driver

2011-03-12 Thread John Lee
on win xp. John ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Locate method in TBuFDataset

2010-10-19 Thread John
for the options, but I can't see that it is set. If they were set in that structure, DBCompareText seems to honour loCaseInsensitive, but takes no notice of loPartialKey. cheers, John Sunderland ___ fpc-pascal maillist

[fpc-pascal] Error: Invalid DLL D:\WINDOWS\system\odbc.dll: invalid magic code

2010-09-19 Thread John
magic code Does anyone have any ideas ? The rest of the process seemed fine. I haven't messed with D:\WINDOWS\system\odbc.dll as far as I know. thanks, John Sunderland ___ fpc-pascal maillist - fpc-pascal@lists.freepasca

Re: [fpc-pascal] State of FPC docs.rant

2010-04-26 Thread John
On 26/04/2010 11:52 PM, Graeme Geldenhuys wrote: ... John het geskryf: On the other hand, Joseph has a point - I have worked out most bits of FPC over the course of a few years, but Granted that the bulk of FPC's documentation is simply Class or API documentation. A more new developer

Re: [fpc-pascal] State of FPC docs.rant

2010-04-25 Thread John
, it is the documentation system it self. I suspect that all the details are documented, but no-one has written the overview, because the people who wrote it knew it so well, they did not see the need. Or perhaps I just have not ever found it. cheers John Sunderland

Re: [fpc-pascal] Dosemu problems compiling

2010-04-06 Thread John Coppens
didn't accept a writeln of an enumerated scalar, which 2.4.x does, apparently. But 2.2.x did start compiling. Any recent changes in the fpc executable that could cause the DosEmu problem? John ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

[fpc-pascal] Strange debugging issue

2010-04-05 Thread John Coppens
symbol: ', sy); (gdb) n I haven't seen this kind of problem before, not in Pascal nor in C. Why is the '... to 1' appearing in the listing? Using FPC 2.4.0, and gdb 6.8 John ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Documentation strangeness

2010-04-05 Thread John Coppens
Graeme, Sorry for my ignorance - what are INF files? Google seems confused too. John ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Strange debugging issue

2010-04-05 Thread John Coppens
. That was it - but it seems slightly different from C. I actually had to leave gdb and go back (probably could have reloaded). Doesn't gdb detect source code changes? It's been a while, but I seem to remember gdb warning about the C source file having been changed. John

Re: [fpc-pascal] Strange debugging issue

2010-04-05 Thread John Coppens
are explicitly enabled. John ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Dosemu problems compiling

2010-04-05 Thread John Coppens
to cross-compile, but that doesn't seem possible under x86_64 (no 32bit targets)? Help! John ERROR: Fault handler re-entered! signal=11 _trapno=0xE ERROR: cpu exception in dosemu code outside of DPMI client! trapno: 0x0e errorcode: 0x0007 cr2: 0x eip: 0x004a2cc1 esp: 0x7fff16e2d270

Re: [fpc-pascal] Documentation strangeness

2010-04-05 Thread John Coppens
at the time, particularly at a time where xml is the magic recipe for everything ;-) Greetings, John ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Documentation strangeness

2010-04-04 Thread John Coppens
the 'good' one - just the old version. Thanks for deleting ;-) John ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Documentation strangeness

2010-04-03 Thread John Coppens
frustrating, but maybe it's an easy thing to avoid and regenerate the document. If it's more work-intensive, I offer my help in editing... John ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Documentation strangeness

2010-04-03 Thread John Coppens
at the moment. I thought it would be up-to-date, but it seems the 2.4 package has a much newer html version. Wouldn't it be advisable (and probably save a lot of questions) to get the online version updated? John ___ fpc-pascal maillist - fpc-pascal

[fpc-pascal] Challenging port of Borland Pascal program to FPC

2010-01-17 Thread John Youngquist
controls a machine on a single purpose computer. Windows is used to handle files, networks, and little else. Most of the time only this program is run. A port to Linux might be acceptable if that would solve some problems. Are these insurmountable obstacles? Thanks John Youngquist

Re: [fpc-pascal] Challenging port of Borland Pascal program to FPC

2010-01-17 Thread John Youngquist
wrote: John Youngquist wrote: I would like to port the program as is, but eventually get a PCI 48 I/O line card to escape the ISA bus and also talk USB as well. Getting it to run on later versions of Windows might be useful. This program controls a machine on a single purpose computer. Windows

Re: [fpc-pascal] Using StrindGrid

2010-01-14 Thread John Marg Sunderland
. grid rows and cols are 0 indexed, so if you have 3 cols, they are numbered from 0 to 2, not 1 to 3. You will find this in lots of places. cheers, John Sunderland ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Insert into ... mysql

2009-06-28 Thread John Coppens
, and is it a varchar column, etc.? - Are you allowed to insert? (Check the privileges for the person as who you log in. Insert, update, select, all have separate 'enables') - What is the message returned by mysql_error? John ___ fpc-pascal maillist - fpc

Re: [fpc-pascal] GRAPHICS HELP : PLEASE PLEASE????

2009-06-28 Thread John Coppens
On Sun, 28 Jun 2009 18:23:12 -0700 (PDT) Zachary Marlow zachary_mar...@yahoo.com wrote: Well   Like How to draw a circle , I just need some example code please Check this tutorial: http://pascalprogramming.byethost15.com/lesson8.php John

Re: [fpc-pascal] BoolToStr() with correct locale output

2009-06-26 Thread John Coppens
it makes sense that booleans are stored as bits, and, if _really_ necessary, shown as TRUE or FALSE, mainly for debugging purposes. Wirth's Pascal definition specifies the use of TRUE and FALSE. Just my $.02 John ___ fpc-pascal maillist - fpc-pascal

  1   2   3   >