some custom
file. Is this possible? How implement this?
Thanks for suggestions.
--
Valdas Jankūnas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
?
The easiest way is probably to create a C include file that contains all constants as
defines, and then automatically generating the Pascal version of the include with
"h2pas -i cinclude.h -o pinclude.inc".
Thanks, his will make my life easier :)
--
Valda
?
--
Valdas Jankūnas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
st FP code?
Here's one: profile your code!
And where can you read how to do that?
The section on gprof in the FPC User's Guide? And ofcourse the gprof
manual itself.
Yes, that's ok for some platforms.
But gprof/fpc does not work under linux anymore.
uestion: i have no idea how i can check with
Valgrind how one coding style is faster than another (see root post)?
One comes in mind- call testing function many times and measure with
GetTickCount how long takes this process...
--
Valdas Jankūnas
___
Tomas Hajny rašė:
Isn't Fps one of the third party front-ends for fpc (with completely
independent versioning, of course)?
Yes, "FPS is system consisting from graphical user interface and
integrated Free Pascal compiler."
(http://ims.mii.lt/fps/en/devel/index.html).
--
r. Maybe I give it another try as it's been a few months.
How about Krusader (http://krusader.org/):
"...is an advanced twin panel (commander style) file manager for KDE and
other desktops in the *nix world, similar to Midnight or Total Commander...&quo
nute;
I creating constant from a constant. But why I getting that error?
--
Valdas Jankūnas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
rites
the values of such constants/initialised variables in the assembler list
rather than constructing some semantic entity which can be reused later
(so the compiler has no way to retrieve the values of such constants
when you try to reuse them later on).
OK. Thanks for explanat
Alexander Bauer rašė:
I have a strange problem with fpc 2.2.2 on Ubuntu Linux.
The function Now(); did not return the right time ?!?
It returns the time UTC - 6 hours.
Any suggestions ?
br,
Alex
try GetTime or GetLocalTime from SysUtils unit.
--
Valdas Jankūnas
/UTF8Encode routines to
convert between UTF8 <-> Widestring.
--
Valdas Jankūnas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Hello,
today I discovered that SameValue(infinity, neginfinity) returns TRUE.
Why? It should be FALSE. Or not?
Free Pascal Compiler version 2.6.2-8 [2014/01/22] for x86_64
--
Valdas Jankūnas
___
fpc-pascal maillist - fpc-pascal
12 matches
Mail list logo