[fpc-pascal] SameValue and +-Infinity

2014-12-01 Thread Valdas Jankūnas
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

Re: [fpc-pascal] FPC and ANSI C

2010-09-06 Thread Valdas Jankūnas
this? 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 :) -- Valdas Jankūnas

[fpc-pascal] FPC and ANSI C

2010-09-05 Thread Valdas Jankūnas
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

Re: [fpc-pascal] XML with lazarus UTF8 problem

2009-07-06 Thread 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

Re: [fpc-pascal] Wrong Time from Now() or Time()

2008-12-03 Thread Valdas Jankūnas
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

Re: [fpc-pascal] Typed constant

2008-10-25 Thread Valdas Jankūnas
/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 explanation -- Valdas Jankūnas

[fpc-pascal] Typed constant

2008-10-24 Thread Valdas Jankūnas
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

Re: [fpc-pascal] {$R file} support on non-Windows targets

2008-07-13 Thread Valdas Jankūnas
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... -- Valdas Jankūnas

Re: [fpc-pascal] unit

2008-03-25 Thread 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). -- Valdas Jankūnas

[fpc-pascal] Speed

2007-10-30 Thread Valdas Jankūnas
? -- Valdas Jankūnas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Speed

2007-10-30 Thread Valdas Jankūnas
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. my OS is linux... -- Valdas Jankūnas