subcatagories CPUPOWERPC32 and
CPUPOWERPC64 ?
Cheers, Ched'
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Hello,
Ok for the records for internal calculations. But sometimes, records are used for reading/writing
structured files. Does "packed" in "packed array" and "packed record" always forbid the compiler to play
with alignments ?
Kindest regards, Ched'
L
Le 27.07.2022 à 17:41, DougC via fpc-pascal a écrit :
WRITELN(F: 'Hello');
is not proper Pascal.
Yes, Doug, I agree ; but it is compiled with no warning and runs perfectly. Now, why the compiler do not
complain... ?
Cheers, Ched'
___
;m wondering if the first line is really legal... Any advice ?
Cheers, Ched'.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Well, Writeln('{$I %DATEMONTH%}'+'/'); can be compiled, but the answer is...
{$I %DATEMONTH%} .
I think that my level of english is by far too low to make the correct sentence.
Cheers, James, Raoul
Le 25.12.21 à 21:06, James Richters a écrit :
I see what you mean... I thought it was an In
Helolo James,
Thank you for your comment and proposal. As there is no type associated with non-string results, would it
be better to say number instead of integer ? Or integer number ?
Season's greetings !
Cheers, Ched'
Le 24.12.2021 à 22:32, James Richters via fpc-pascal a
> Fade := Fade * Fade * Fade * Fade * Fade;
Why not Fade:=sqr(sqr(Fade))*fade ?
Cheers, Anthony, Ched
Le 15.10.21 à 22:18, Anthony Walter via fpc-pascal a écrit :
I've been working on writing Pascal bindings a friendly object orient interface to a few open source
projects. I
Well, well, understand.
OTOH, declaring a string of length 1 is sort of futile -- it uses
two bytes where a plain char declaration takes just one byte.
Not so futile as a string can be empty, not a char !
Regards, Dennis, Ched'
___
fpc-p
Hello All,
In https://wiki.freepascal.org/Variables_and_Data_Types about Strings:
// where: 1 < length <= 255
is to read as
// where: 1 <= length <= 255
isn't it ?
Cheers, Ched
Le 15.10.21 à 18:44, James Richters via fpc-pascal a écrit :
The difference is because of the w
.
Cheers, Ched
Le 13.02.21 à 12:02, Marco van de Voort via fpc-pascal a écrit :
Op 2021-02-12 om 22:48 schreef James Richters via fpc-pascal:
The problem I have had is when programs I compile generate a false virus detection.. sure on my own
computer I can just disable that directory from the
both Linux and W10, but there is apparently no callable SetUseACP procedure
in the crt unit. Is it available in 3.2.0 ?
Cheers, Ched'
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinf
en't yet solved. But for http, that should be right.
Cheers, Ched
Le 24.05.20 à 18:46, James Richters a écrit :
Does anyone have any advice on how to get started sending commands from FPC to
use these ethernet relays:
https://www.amazon.com/gp/product/B076CNJNFH
Default IP :192.168.
dy Krueger so near us ?
Cheers, Ched'
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Dear All,
From https://www.freepascal.org/docs-html/rtl/sysutils/dayofweek.html :
DayOfWeek returns the day of the week from DateTime. Sunday is counted as day 1, Saturday is counted as
day 7.
From
http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/delphivcl
Hello All,
I'm wondering why DecodeDate is a procedure and DecodeDateFully a function in SysUtils... And there is no
description of the returned Boolean.
https://www.freepascal.org/docs-html/rtl/sysutils/decodedate.html
https://www.freepascal.org/docs-html/rtl/sysutils/decodedatefully.html
Ch
:=FILEGETDATE(FO); { Got File, expected LongInt }
{$ELSE}
GETFTIME(FO, L);
{$ENDIF}
CLOSE(FO);
END.
Well, it appears that I prbably haven't fully understand the dos->sysutils
conversion.
Cheers, Ched'
___
fpc-pascal maill
ot;if FindFirst(..)=0"
This is already so in trunk.
Michael.
From https://www.freepascal.org/port.html about porting Turbo Pascal codes:
> the dos unit Findfirst() call must always be followed by a Findclose to
release some resource.
What's rig
I'm always thinking that there is a small region of Paradise dedicated to the ones who write in Pascal -
and then of course also for the ones who write the compiler and what's around.
In fact, this small region of comfort and joice is in fact _already_ on the
Earth !
Ched'
Hello All,
Thank you, Sven and Wkitty42, for having corrected a false assumption about
encryption of url.
Nevertheless, why not to have a simplepost(an-url, an-ansistring)::ansistring
method available ?
Cheers, Ched'
Le 31.10.2018 à 22:51, Sven Barth via fpc-pascal a écrit :
d in an
ansistring.
Bad- or good idea ? And how difficult would it be to build ?
Cheers, Ched'
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
My preference goes to the profile (on the animation) than on the tatoo-like
face of the cheeta.
Ched'
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
processors, I don't
understand why we will have no more the right to use it under x64 OS...
Cheers, Ched
Le 25.08.2017 à 08:08, Michael Schnell a écrit :
On 25.08.2017 01:32, Ralf Quint wrote:
It's not a problem of "modern" Windows, but a problem of any 64bit x86
OS
Supp
were on the hands of programmers, years
ago.
Cheers, Ched'
Le 24.08.2017 à 21:31, Bernd Oppolzer a écrit :
Am 24.08.2017 um 14:00 schrieb James Richters:
Thanks everyone for the explanation and solutions. I can work around it well enough now that I
understand what’s happening, but I’m still
d and should be deleted or copied from a
backuped version...
Cheers, Ched'
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
or memory access, as on some processors, word aligning data can save some cpu
cycles with reference to non aligned data for data longer than one byte/char.
Chers, Ched
Le 09.07.2017 à 13:45, James Richters a écrit :
I have a few questions about fixed record files. I have the following:
at some loactions:
'SELECT Customers.CustomerName, Orders.OrderID' +
' FROM Customers' +
' FULL OUTER JOIN Orders' +
' ON Customers.CustomerID = Orders.CustomerID' +
' ORDER BY Customers.CustomerName;';
Cheers, Ched
___
then
...
else if ...
else
...
end;
Not as fast as a tree search balanced with probabilities (no answer to my question on the list afew days
ago...), but probably ten time faster then what you proposed.
Cheers, Ched'
Le 06.07.2017 à 20:41, Stefan V. Pantazi
and is pleasant
to read.
Cheers, Ched'
Le 09.04.2017 à 19:21, Rolf Grunsky a écrit :
On 2017-04-09 04:06 AM, Bo Berglund wrote:
I am looking for some good example of FFT functions in pascal but it
seems like what Google serves up is rather old and refers to
Turbo-pascal and the like.
Usualy "non-negative", not positive !
Cheers, Ched'
Le 05.04.2017 à 16:55, Bart a écrit :
http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Random
"random returns a random number between 0 and abs(num-1)"
IIUC, then Random() shoud always return
Most likely this is only because "socket < 0" is faster to write than "socket =
-1" :-)
And is probably faster to execute on most processors which offers a sign flag.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal
the server side ?
Kindest regards, Ched'
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
? Rebuilding all from
sources is most probably out of my capabilities, hélas.
Kindest regards, Ched'
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
refcount and so should behave like string about copy/deep copy.
Cheers, Ched'
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Hello,
I have something like this which seems to work very nicely
Cheers, Ched'
PROCEDURE SINCOS(CONST X: DOUBLE; VAR S, C: DOUBLE);
BEGIN
{$IFDEF NOASM}
S:=SIN(X);
C:=COS(X);
{$ELSE}
{$IFDEF VER70}
IF TEST8087=3 THEN
ASM
FL
Hello All,
Each time I use fp (text mode ide) under linux or win-xp (3.0 and 2.6.4), there appears a new emtpy file
in the directory: dummy.$$$ .
Apparently it's safe to remove it even when fp is running. But what's its use ?
Season's
unit for linux and windows systems ? Is this not too hard ? I'd like to use
the same source code on all these machines - i.e. no specializations.
Some hints ?
Cheers, Ched'
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lis
What means CRT for ? :)
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Hello,
I strongly discourage the use of {$optimization deadstore} which induced strong numerical errors on our
solar system calculations (i386 linux). The other new ones
{$optimization deadvalues}
{$optimization orderfields}
{$optimization fastmath}
{$optimization constprop}
seem to
Hello,
The 2.6.0 version which comes with apt-get is plenty of bugs. Installing the 2.6.4 downloaded from the
link in the freepascal site makes it workable, at least for my programs, perfectly. So do the upgrade !
Cheers, Raoul
Le 22. 08. 15 16:44, Xiangrong Fang a écrit :
Hello,
I got
versions designed by Wirth himself ?
Cheers, Ched'
Le 14. 09. 14 12:20, Marius a écrit :
Jürgen Hestermann wrote:
Realy? I love it. Consider these two varianst of code from one of my
programs:
This is a simpler example than the one with with the 4 levels deep
(which can be quite a puzz
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) ?And with integers ?
Can the compiler optimise this operation choosing the fastest one
.freepascal.org] De la part de Ched
Envoyé : mardi 31 décembre 2013 00:08
À : FPC-Pascal users discussions
Objet : [fpc-pascal] Free Pascal 2.6.4-rc1 - IDE crashes
Hello All,
I don't know if I'm the only people having problems with the fp IDE of
the rc1 from the win32 package
under winxp
Hello All,
I don't know if I'm the only people having problems with the fp IDE of the rc1 from the win32 package
under winxp 32 bits...
The complier works fine. But when I have an error in the source code of a program, I can't jump to the
location of the error after the compilation attempt us
Hello,
The win32 seems to work perfectly, at least on all the intensive numerical
simulations I done.
I haven't found the win32/64 cross-compiler on ftp.freepascal.org ...
Thanks for the greaaat piece of software !
Raoul
___
fpc-pascal maillist
Hello All,
Some words about me: I'm a pascalist for now more than 25 years. I developped many embedded applications,
but I don't feel well putting the hands on the compiler...
About "The 2.6.2 RPM and Deb archives are still in preparation" seen on the the download page about
linux/386, can I
45 matches
Mail list logo