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:
> During the upcoming wee
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 1
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
> ___
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 09:35 PM, Maciej Izak wrote:
>
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 wrote:
> On 02.02.2016 20:22, John Lee wrote:
> > So (Sven) to clarify, assume that your o
on, and on and on blah blah - lets move on!
On 2 February 2016 at 17:06, Martin wrote:
> On 02/02/2016 16:49, Sven Barth wrote:
>
>>
>>
>> > also if we are discussing (are we?) a form like
>> > x:= iIf a>b iThen c iElse b;
>> > then why not
>> > x:= a>b ifThen c ifElse b;
>>
>> Because I
Sigh, thought everyone (eventually) agreed that we'd change to algol/ada
x:=if a>b then 1 else 2; so why are we going on & on & on about this?
john
On 2 February 2016 at 13:20, Sven Barth wrote:
> Am 02.02.2016 11:42 schrieb "Mark Morgan Lloyd" <
> markmll.fpc-pas...@telemetry.co.uk>:
> >
> > M
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 w
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 wrote:
> On Thu, August 27, 2015 06:55, Martin Schreiber wrote:
> > On Wednesday 26 August 2015 20:14:09 Mark Morgan Lloyd wrote:
> >>
> >> Is there a native
simple, tho' not too simple, 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 wrote:
> On 30/08/15 14:11, John Lee wrote:
> > Not clear ab
able, so let me 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 wrote:
> What is fix please? I noticed Jonas committed a link patch to svn today.
> Does that fix it? If so can
Schreiber wrote:
> On Saturday 29 August 2015 13:32:57 John Lee wrote:
> > 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?
>
> Try to start
> "
> fpc_eabihf_3_0_1.tar.
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 wrote:
> On Friday 28 August 2015 10:30:24 Mark Morgan Lloyd wrote:
> > Martin Schre
Did I miss something? - where does it it get the rtl & compiler source?
TIA John
On 18 August 2015 at 16:27, Chris Moody
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"
> SUBARCH=armv7
> C
was compiling system.pp,
> which I think it's still part of the bootstrapping. Even after I updated my
> SVN to the latest rev a few hours ago, it still failed.
>
> So, is it not possible to compile FPC trunk using FPC stable (2.6.4) on a
> Raspberry 1?
>
> Anybody ca
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
On 28
Hi Bee
Bit confused - in your email, 12st line you seem to say this you just
received rpi 1 B+, wheras you refer to a rpi-2 article. Did you mean rpi 2
ie the latest super version quad core version with armv7?
Which 2.6.4 linux arm package did you use? The one from sudo apt-get
install fpc or som
I've just done an apt-get nstall fpc on rpi, running wheezy/jessie - quite
a lot of libs downloaded. Is there a smaller download?
Seems to be ver 2.6.2. Appears to work with a quick try compiling. Have you
seen any problems using it on wheezy?
Can it be used to compile v2.7 on the rpi, or is some
This enables a process eg an .exe to be run without using cmd (unlike exec)
and if so, I'd like to use it. Can anyone provide one or two simple example
lines for using this, on windows.
Below is definition in sysutils help. It explains what path & comline do,
but doesn't really explain why one wou
Running win32 fpc 2.7.1 10/01/2014
Compiling with no -v options.I get
An unhandled exception occurred at $0043C670:37
EInvalidOp: Invalid floating point operation
$0043C670 REGRESS, line 347 of c:/com/livel.pp
When I check what this line no is it is last line of a procedure regress
which doe
nt'!
John
On 29 October 2013 17:32, Jonas Maebe wrote:
> On 29/10/13 18:17, John Lee wrote:
>
> On 29 October 2013 13:22, Graeme Geldenhuys
>> wrote:
>>
>> This is a very impressive little blog about efficient string
>>> concatenation
>>>
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 wrote:
> Hi,
>
> This is a very impres
Is this assessment valid for win or linux or both? J
On 28 October 2013 13:22, Graeme Geldenhuys 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 work with embedde
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 under
ion.
Thanks all for you help.
John
On 2 October 2013 09:44, Reinier Olislagers wrote:
> 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
o create a csv file then
getting the data 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 wrote:
> Thanks - as
er to your
> question. It is encapsulated in a OLE Document storage system to start
> with, which is something pretty complex.
>
> BIFF2 till BIFF5 (Excel 5.0) were simple formats, but that's not the
> format you are looking for from your question.
>
> Felipe
>
> On Mo
You mean like this library does? http://wiki.freepascal.org/FPSpreadsheet
>
> Felipe Monteiro de Carvalho
>
> On Mon, Sep 30, 2013 at 5:33 PM, John Lee wrote:
> > File produced by excel 2003. Can anyone tell me the basic ideas, formats,
> > pitfalls - I'd just like to write a
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
Thanks - however, my attempt to modify the test program by adding the exec
as below so it works in 'parallel' with the main program doesn't work, so I
must have missed something.
program Test;
{$mode objfpc}{$H+}
uses windows,classes, dos, crt, sysutils,MTProcs;
var j:longint;
// a simple parall
> mtprocs.pas(344,16) 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;
>
> I fixed that in 40846.
> The fix was already in the lazarus-ccr version.
>
>
Got mtprocs from lazurus svn, compiles ok with win 2.6.2 but not with 2.7.1
2.7.1-r1:23421 [2013/01/18]--Free Pascal Compiler version 2.7.1-r1:23421
[2013/01/18] for i386
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Win32 for i386
Compiling mtprocs.pas
mtprocs.pas(344,16) Err
I have a program that captures xml data every 2-6 secs from a power sensor,
win , xp. Would like to use freearc ebvery minute or so to compress the
previous data in parallel w/o stopping the capture. Running arc from cmd
line using exec eg exec('/c arc.exe outfile infile'); The compression may
take
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
Think there were reasons why it'd be useful - I'd like it so one can
(easily) make a disk backup of specific variables' values eg on disk for
programs (I have one) that need to be able to continue after stopping or a
power failure.
I know new facilities are never trivial, need maintenance etc, but
On 2 March 2013 02:05, leledumbo 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 you don't, what abo
other impact is that the size of the .exe
On 1 March 2013 21:55, Sven Barth 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
s possible... as the great man said!.
John
On 1 March 2013 19:06, Sven Barth 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,
>>
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 wrote:
Think I'm missing something! I need the/a fpc registry unit - I can't seem
to find it on svn - lots of references to it! Pls send or point me to it.
Code extract (from synaser) that I need to work is
var reg:tregistry;
...
reg.RootKey := HKEY_LOCAL_MACHINE;
reg.OpenKey('\HARDWARE\DEVICEMA
I'm stuck with v2.2.2 because I have units from that version w/o source
code, tho' not sure whether later fpcs would be any better? Any performance
improvements made?
I have a program that does quite a bit of processing on xml strings (eg
using str functions such as pos, npos,posex) that occur eve
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 wrote:
> 2011/12/7 Peter :
> > Graeme,
> >
> > I would recommend using Marsaglia's XORShift.
>
Why not use the previous fpc version - I guess similar to that in delphi- I
can remember an email when Jonas changed it quite a few years ago - Jonas
must have older version - but can't really remember the fpc version -
v1.0? My guess it could be found in either svn or more likely the older cvs
f
I'm using synaser on win xp to receive data from a com port, via the
prolific usb-serial driver.
eg ser.RecvTerminated(6000,term_str);
Can I send the same data out to another com port w/o the program waiting
for it to be read by another app eg using sendbuffer? or something else?
but isn't neces
>
>
>> 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 a
Call me old fashioned, but to ask for this capability to save typing seems
bizarre.
I'l like it, if as has been suggested it is easy to do, so that it is
easier & more error free to implement a variable save and restore
capability. I have a program in which some variables values need to be
stored
Thanks for the feedback & suggestions - looks like either functions as
parameters or using objects are only ways to do this - either makes the
code look horrible & more complex that necessary imo cf the normal use of
functions. Surprised this capability hasn't come up before because doesn't
sound t
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 wrote:
> Am 18.11.2011 17:47, schrieb John Lee:
>
> Sorry
hat it would! What can I do please, to _force_ fnb to use the fred
version of fna?
John
On 18 November 2011 16:04, Sven Barth 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 internal
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 including jim, and also a _different_
version of fna, with same parameters as for that in jim, but no fnb.
The problem I get is that when, in main program fnb doesn't us
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 ma
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 wrote:
> **
> Hello,
>
> In my program I nee
Trying to implement a win messagebox with timeout, I googled & found a
mention of an undocumented messageboxtimeout api & its delphi call.
See noddy program below - works for messagebox() with boolean false,
unfortunately fails with boolean true & gives 'not found in user32' message
in my xp.
Any
I need a simple messagebox (or msgbox) for windows - that doesn't depend
(use) a whole load of lcl or other stuff - did I miss this in the fpc docs -
sounds as if it ought to be in sysutils - but isn't! I just want to output
a message to a titled box, and maybe get an ok button press, with a n sec
Hi Jose, all.
I've now (at last!) started using your last4 lines program. Thanks a lot- it
works really well and even on a 100M log file it is really really fast -
faster than 1 msec, which I didn't believe until I timed it using
gettickcount. Also it doesn't generate much disk i/o. Reading the who
I'd like to put the assign and reset of a text file into a function, and
then use the function to return a line from the file, without needing to
close the file then re assign and reset every time (for performance
reasons) - see below for my attempt.
This doesn't work because I guess the file han
Been trying to use the windows graph from 2.4 release svn, running on
standard xp sp3 laptop, with 1024*768 resolution screen setting, 96dpi,
intel mobile express 965 chipset according to control panel.
Running
drawtest with the default settings (9,2,20) gives a whole lot of random
coloured vertic
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
Need to read the last 4 lines (txt) of a very large log file 100M bytes,
100k lines or more lots of times - of course I can read through the file in
the normal way but this is rather slow. Is there a way to 'read lines from
the end'? I note that unix tail or its port to windows does this very fast
I'm trying to get data from a device via a serial (com) port, 9600 baud,
connected via the prolific cable (serial to usb). This allows one to connect
a serial device via a usb port (many new PCs do not have a real serial port.
I've loaded the prolific driver.
Anyone have fpc program that'll work
60 matches
Mail list logo