Hi,
I'm desperately trying to build a application mixing GTK with SDL for
*Linux*.
I know that's not always recommended as it involves 2 listening loops but
it should work. I found some *C* snippets/applications (eg making window
hacks) but I'm unable to translate them into Pascal.My goal is to
di
ly improve/reduce my code.
But I'm able to achieve this. Does anyone know ?
Thanks.
Tom
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> With version 2.3.1, you can try the new support for resources,
> and it should work "out of the box".
How can you obtain 2.3.1? I cannot find it in the repository...
BR
Tom
___
fpc-pascal maillist - fpc-pascal@lists.fre
On Tue, 24 Jun 2008, Tom Carly wrote:
> > With version 2.3.1, you can try the new support for resources,
> > and it should work "out of the box".
>
> How can you obtain 2.3.1? I cannot find it in the repository...
> You can get 2.3.1 only from subversion.
I don&
the value of x,
it also bombs out on the 8th pass.
Note that x is actually a field in a record stored in a high-dimensional
array that is dynamically allocated, accessed through a with statement.
Using various levels of optimization does not matter.
I am at a loss here,
Tom
--
E-M
On Sat, Aug 23, 2008 at 12:20:48AM +0200, Tom Verhoeff wrote:
> I have an application (for optimizing decisions in the dice game Yahtzee)
> that uses Real and runs well with FPC on Mac OS X (PPC), but that
> fails with a Floating Point Exception (FPE) under Windows (FPC 2.2.0).
I "
udson plugins to do this?
Thanks in advance,
Tom
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
also remove the .lazarus directory
> in your home directory as described at the end. I guess most of your
> problems are related to that one in fact.
What about /etc/fpc.cfg? I don't see it mentioned in the uninstall.
Is that location a legacy of older versions?
Tom
--
E-
.
to find out which options are in effect, e.g. useful when both
configuration file and command line options are being used)?
The app does not use floating point operations.
Anyone else have the same experience?
Any suggestions?
Thanks,
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Dept. of
: Single): Single;
{ returns successor of x }
function PredSingle ( const x: Single): Single;
{ returns predecessor of x }
Best regards,
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Dept. of Math. & Comp. Science
PHONE: +31 40 247 41 25| Technische Universiteit Eindhoven
FAX:
in math.
>
> The "Tostring" stuff should go into sysutils or strutils.
There are also some constants and (conversion) types shared by the
mathematical operations and ToString operations. Where would they go?
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Dept. of Math. & Com
Therefore, I believe that my current implemenation is endian-safe
on processors that exploit the IEEE 754 standard wisely.
In particular, I tested it on Intel and PowerPC (which have opposite
endianness; though PowerPC can switch endianness).
The unit comes with a separate test driver. There are a
On Sun, Sep 07, 2008 at 07:53:06AM -0300, Felipe Monteiro de Carvalho wrote:
> I would suggest to put this routines in a new unit, to keep the
> existing base units small and clean.
How about naming them FloatUtils?
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Dept. of Math. & Com
free to incorporate it in the RTL.
Best regards,
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Dept. of Math. & Comp. Science
PHONE: +31 40 247 41 25| Technische Universiteit Eindhoven
FAX:+31 40 247 54 04| PO Box 513, NL-5600 MB Eindhoven
http://www.win.
its icon, and
hold to see that option), and next time start it from there (you no
longer need to open Terminal).
Best regards,
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Dept. of Math. & Comp. Science
PHONE: +31 40 247 41 25| Technische Universiteit Eindhoven
FAX:+31 40 247
t; Length(s).
Thanks,
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Dept. of Math. & Comp. Science
PHONE: +31 40 247 41 25| Technische Universiteit Eindhoven
FAX:+31 40 247 54 04| PO Box 513, NL-5600 MB Eindhoven
http://www.win.tue.nl/~w
On Wed, Oct 29, 2008 at 09:58:10PM +0100, Vinzent Höfler wrote:
> Tom Verhoeff wrote:
>
>> I am surprised that for ShortString, the range is not
>> also 1 <= i <= Length(s).
>>
>> IIRC Turbo Pascal only allowed you to access s[0] when range checking
>&
y but that doesn't seem to
exist under freepascal.
Thx,
Tom Carly
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Sun, Dec 07, 2008 at 11:10:19AM +0100, Marc Santhoff wrote:
>
> How could I solve this problem in a better way?
By using SetUp and TearDown routines.
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Dept. of Math. & Comp. Science
PHONE: +31 40 247 41 25| Technische Un
browsing the website (most
> other website work like this).
>
> http://www.freepascal.org/docs/
> http://docs.freepascal.org
Personally, I just go to the relevant home page and expect a naviation
link with anchor text Documentation. For FPC that exists (and works :-).
To
eems that the signal that is sent from process A to
process B is not the same as when you kill it via the command line.
Does anyone have an idea how to solve this?
Thanks!
Best regards,
Tom
___
fpc-pascal maillist - fpc-pascal@lists
Hi,
I found that the problem is coming from the fact that I use
process.Options := ProcessB.Options + [poUsePipes];
If I switch that off, process B does execute the signal handling code. Is this
a bug or am I missing something?
Thx,
Tom
-Original Message-
From: fpc-pascal-boun
er, that compring storage needs to be done carefully
because of the overhead in pointers and indexes.
The program is written in Turbo Pascal, but it should not be hard
to run it using FPC.
Best regards,
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Dept. of Math. & Comp. Science
PHO
ds to rely on the fact that fields in a class get
initialized in a predefined way, e.g. pointers are set to nil.
Best regards,
Tom Verhoeff
--
program Assert_in_constructor;
{$Mode Delphi}
{$Assertions on}
uses
SysUtils, Classes;
type
PCell = ^ TCell;
TCell = record // singly linked
On Tue, Jun 30, 2009 at 07:58:47PM +0100, Inoussa OUEDRAOGO wrote:
> 2009/6/29 Tom Verhoeff :
> > While tracing a nasty bug (?), I discovered the hard way that when
> > an Assert is done in a constructor, and it fails, then the destructor
> > (Destroy) is automatically called.
On Wed, Jul 01, 2009 at 01:15:29PM +0200, Michael Van Canneyt wrote:
> On Wed, 1 Jul 2009, Tom Verhoeff wrote:
>>
>> Zoiets zou ook in de TObject.Create (RTL) doc. van FreePascal passen
>> (lees: thuishoren).
>
> For non-dutch speakers: It says that this kind of informat
hat is stored/displayed can be customized using
some constants.
Works very well.
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Dept. of Math. & Comp. Science
PHONE: +31 40 247 41 25| Technische Universiteit Eindhoven
FAX:+31 40 247 54 04| PO Box 513, NL-5600
+ x = infinity, 1/infty = 0).
That is precisely why IEEE 754 has infinities. Also see
<http://www.cs.berkeley.edu/~wkahan/ieee754status/why-ieee.pdf>
for other examples and further motivation.
Unfortunately, many compilers still do not fully support the IEEE 754
floating-point stan
g
community.
Another (longish) "must read" about floating-point:
David Goldberg.
"What Every Computer Scientist Should Know about Floating-Point Arithmetic".
<http://www.validlab.com/goldberg/paper.ps>
Note that IEEE Std 754 was revised in 2008, see e.g.
<http:/
On Mon, Oct 19, 2009 at 10:21:01AM +0200, Jonas Maebe wrote:
>
> On 18 Oct 2009, at 17:52, Tom Verhoeff wrote:
>
>> It would be nicer if one had the ability to make floating-point
>> division
>> by zero return an IEEE 754 plus/minus infinity, without raisin
On Mon, Oct 19, 2009 at 02:57:10PM -0300, Gustavo Enrique Jimenez wrote:
> 2009/10/18 Tom Verhoeff :
> > A simple example is the situation where one needs to calculate
> > the replacement resistor value R for parallel resistors having
> > values R1, R2, ..., Rk. The formula
On Mon, Oct 19, 2009 at 11:20:50PM +0100, Frank Peelo wrote:
> Gustavo Enrique Jimenez wrote:
>> 2009/10/18 Tom Verhoeff :
>>> A simple example is the situation where one needs to calculate
>>> the replacement resistor value R for parallel resistors having
>>>
Hi,
I'm using TMySQL50Connection and TSQLQuery to do a query on a mysql server. Is
there a way that you can set a timeout on a query so that it also automatically
kills the mysql process after the timeout and doesn't keep loading the mysql
server?
Th
maybe there are ways to put together a malicious
source file that makes the compiler misbehave ...
4. Whatever else comes to your mind ...
Best regards,
Tom Verhoeff
--
E-MAIL: T.Verhoeff @ TUE.NL | Fac. of Math. & Computing Science
PHONE: +31 40 247 41 25| Eindh
>
> I think it only compiles things, and does not execute them.
Correct. It is compile only, without execution of the resulting binary.
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Fac. of Math. & Computing Science
PHONE: +31 40 247 41 25| Eindhoven University of Tech
ntention (as indicated in my original message):
> ... You go to its web interface, browse for your source files
> (possibly a whole zip archive) on your local machine, enter command-line
> options, ...
Thanks for all the useful comments,
Tom
--
E-MAIL: T.Verhoeff @ TUE.
On Mon, Dec 05, 2005 at 10:03:58AM -0500, Tony Pelton wrote:
> On 12/5/05, Tom Verhoeff <[EMAIL PROTECTED]> wrote:
> > Why do this? Because that way people can use/try FreePascal without
> > installing anything.
>
> installing really isn't too complicated cu
an (s)ftp connection with automatic text translation
(depending on preference settings). I get bitten by this too often.
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Fac. of Math. & Computing Science
PHONE: +31 40 247 41 25| Eindhoven University of Technology
FAX:
nterest in such a unit?
Question 2: Any suggestions as to how to make it more platform independent,
or how to support multiple platforms in an easy way?
Looking forward to some feedback,
Tom Verhoeff
--
E-MAIL: T.Verhoeff @ TUE.NL | Fac. of Math. & Computing Science
PHONE: +3
On Sun, Feb 05, 2006 at 01:39:25PM +0100, Jonas Maebe wrote:
>
> On 05 Feb 2006, at 13:32, Tom Verhoeff wrote:
>
> >Question 2: Any suggestions as to how to make it more platform
> >independent,
> >or how to support multiple platforms in an easy way?
>
> Th
On Sat, Feb 18, 2006 at 09:43:31AM +0100, Tom Verhoeff wrote:
>
> So, here are some pieces of the code, it uses a variant array to
> access the bits of the IEEE floating-point numbers in Single and Double:
That should be 'record' insteady of 'array', of co
*.ppu and *.o are already available?
I couldn't find this in the documentation.
Versions: I used FPC 2.0.1 to compile the units; the students
used FPC 2.0.2 to compiler their programs.
Thanks,
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Fac. of Math. & Computing Science
PHONE: +3
On Wed, Apr 05, 2006 at 01:27:04PM +0200, Jonas Maebe wrote:
>
> On 5 apr 2006, at 13:22, Tom Verhoeff wrote:
>
> >In a programming course that I teach, some students are using
> >Lazarus+FPC
> >instead of Delphi. I made available two precompiled units, that
recompiled unit needs to publish *.ppu and *.o files for ALL 'relevant'
System units (and Target OSs, of course).
This makes it much less attractive to release units without source
code. That may be understandable from an open-source perspective,
but in teaching I find it us
On Thu, Apr 06, 2006 at 11:04:02PM +0200, Jonas Maebe wrote:
>
> On 6 apr 2006, at 22:59, Tom Verhoeff wrote:
>
> >This raises the concern that precompiled units become obsolete when
> >the user of such a unit upgrades the compiler. The compiler
> >apparently
>
27;s Manual as well
(updated Section 3.3 on Compiling a unit).
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Fac. of Math. & Computing Science
PHONE: +31 40 247 41 25| Eindhoven University of Technology
FAX:+31 40 247 54 04| PO Box 513, NL-5600 MB Eindhoven
ht
On Fri, Apr 07, 2006 at 01:25:52PM +0200, Michael Van Canneyt wrote:
>
> On Fri, 7 Apr 2006, Tom Verhoeff wrote:
>
> >I just happened to be bitten by it in an unexpected way. If it is
> >properly documented, then there is no issue. I have tried to remedy
> >that b
On Sun, Apr 09, 2006 at 10:58:09PM +0200, Giovanni Premuda wrote:
> Tom Verhoeff ha scritto:
> >This makes it much less attractive to release units without source
> >code. That may be understandable from an open-source perspective,
> >but in teaching I find it useful or even
ads in the old format and writes out the
new format.
Thanks for enquiring,
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Fac. of Math. & Computing Science
PHONE: +31 40 247 41 25| Eindhoven University of Technology
FAX:+31 40 247 54 04| PO Box 513, NL
useable
> for people knowledged with FPC to work around the limitations.
Once again, a sore point, indeed. The IDE is an issue, especially
for "beginners". Personally, I have been very happy to use vi(m) under
contest conditions.
> Perhaps we should ask Tom Verhoeff, he is ver
(Discussion switched from fpc-devel to fpc-pascal, because it might be
of more general interest.)
On Sat, Apr 14, 2007 at 06:56:12PM +0200, Jonas Maebe wrote:
>
> On 13 Apr 2007, at 17:38, Tom Verhoeff wrote:
>
> >The order -Sa -Sg- fails to generate assertion checking code, whe
record types.
Insisting on a type name seems unneeded. I.e. the typing of
the "parameters" of . is not so strict; it occurs in a context
record . fieldname_of_this_record_type
The record is not a parameter of . in the usual sense.
I haven't checked the FPC documentation on all
On Wed, May 23, 2007 at 05:48:32PM +0300, Christos Chryssochoidis wrote:
>
> On 23 Μαϊ 2007, at 3:05 ΜΜ, Tom Verhoeff wrote:
>
> >It is not a trick, but has to do with type compatibility issues
> >(and history, I guess).
>
> I see. If I understand well, Pascal us
'out of nowhere', then there are
the two options from the command line, and then the one from /etc/fpc.cfg,
followed by a long list of directories named /usr/lib/fpc/* .
Where do the first three come from? Can those be (re)moved?
Thanks,
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL
it is here
<http://www.freepascal.org/docs-html/fpcunit.pdf>
but that directory does not list it.
That is a pity.
Can someone educate me (or update the site)?
Is there any more up-to-date documentation. I know some people
enhanced fpcunit after Michael's article from 9 October 2005.
e wiki.
If someone tells me the overall structure of the FCL, then I could
update the wiki somewhat more. How do I find out which units are there?
Looking at the svn repository, it is still not obvious to me.
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Dept. of Math. & Comp. Science
PHON
P does.
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Dept. of Math. & Comp. Science
PHONE: +31 40 247 41 25| Technische Universiteit Eindhoven
FAX:+31 40 247 54 04| PO Box 513, NL-5600 MB Eindhoven
http://www.win.tue.nl/~wstomv/ | The N
tion);
type
int = LongInt;
program libdos4_unit;
with
defstd4,
dospriv;
var
KeySaveChar: char;
function DosKeyCharHave:
boolean;
begin
return(FromC.rdchk(0) = 1);
end;
== snip =
Anyhow, any thoughts that someone may have would be greatly appreciated!
On Mon, Jun 18, 2007 at 10:26:06AM -0400, Tom Walsh wrote:
> Heh, if you are reading this then you may know what Metaware is?
Unfortunately for you, I have no such experience; never heard of it.
> Another "interesting feature" is a #define statement which is very much
nagement will keep shoveling
money into it...
TomW
--
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net http://cyberiansoftware.com http://openzipit.org
"Windows? No thanks, I have work to do..."
__
7;t write
financial code...
TomW
--
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net http://cyberiansoftware.com http://openzipit.org
"Windows? No thanks, I have work to do..."
se, this
is definately on a unix box.
TomW
--
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net http://cyberiansoftware.com http://openzipit.org
"Windows? No thanks, I have work to do..."
Tom Walsh wrote:
Mark Wood wrote:
I have found that there are some functional differences that
Metaware has over
fpc, one example is the yield() function which returns the
intermediate result
of a function call.
?
'?' indeed! I am fascinated! What does yield
iteln (namespace_test.test); // calls the public function
finally
c_test.free;
end;
end.
Tom
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
an email belongs (and this header is wrong if you reply).
I assume that is directed at me. :) My apologies. I was attempting to
respond to "Interesting namespace question", but I was not a member of
the list yet, so I attempted to duplicate the subject. I should have
known bet
By the way is NNTP forbidden? I would much rather use NNTP over a
mailing list.
Thanks,
Tom
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
ommunicates with pascal either through stdin/stdout
redirection or with a socket.
Bye
IIRC, it is 'gcc -c '
TomW
--
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net http://cyberiansoftware.com http://openzipit.or
ommunicates with pascal either through stdin/stdout
redirection or with a socket.
Bye
Nope, it is 'gdb -c '. Sorry :-(
TomW
--
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net http://cyberiansoftware.com http://openzipit.or
I cannot seem to find a way to join the mailing list.
TIA,
Tom
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
ndPagePrinter(Handle);
EndDocPrinter(Handle);
ClosePrinter(Handle);
end;
(End Procedure)
Tom
Roberto Gonçalves Barreiro wrote:
I'm a delphi programmer.
I'm printing a report using:
assign(wPrinter,'Lpt1:')
and it goes ok in paralel priner.
I did assign(wPrinter,'USB001
Disregard my prior post. It does not work unless the Windows Spooler
API is converted.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Disregard my prior post. It does not work unless the Windows Spooler
API is converted.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Disregard my prior post, it is Delphi specific. I did find this one.
(http://www.freepascal.org/cgi-bin/viewcvs.cgi/trunk/components/printers/samples/rawmode/unitmain.pas?root=lazarus&rev=10129&view=markup)
procedure WritePrinter;
var
sTemp: String;
Written: Integer;
begin
Written := 0;
sTe
Sorry for all of these replies, I think my ISP (webhost) is working on
their mail servers.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Is there any benefit to the fpc make?
Regards,
TomW
--
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net http://cyberiansoftware.com http://openzipit.org
"Windows? No thanks, I have
ow things have been implemented.
Maybe a developer can take a look, and we can discuss off-line whether
to merge this, and if so, how to proceed.
Best regards,
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Dept. of Math. & Comp. Science
PHONE: +31 40 247 41 25| Technische Univer
rate.
If you renamed it to the "Open Source Pascal Compiler" it would be more
accurate?
Oh, and please, please change the name soon, ok? I have a lot more of
these reports to write...
Regards,
TomW
--
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.n
uot;something of so little value that you can afford
to give it away". Perhaps in German it has a different connotation, or
in British English...
Regards,
TomW
--
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net http://cyberiansoftware.com http://op
oa
-Mdelphi demo02
The program demo2.pp contains
{$linklib gcc}
{$linklib SDLmain}
Uses SDL, crt;
This program was grabbed from <http://userpage.fu-berlin.de/~molski/fpsdl/>
and then adapted according to <http://wiki.freepascal.org/index.php/FPC_and_SDL>
Your advice would be greatly a
On Fri, Aug 17, 2007 at 10:47:27PM +0100, Milan Marusinec wrote:
> Tom Verhoeff wrote:
> >Any idea what I messed up?
> >
> >This is what my command line looks like:
> >
> >fpc -Fu/Users/wstomv/Download/JEDI-SDLv1.0/SDL/Pas -Fl/usr/X11R6/lib
> >-XMSDL_main -k
book's Introduction (p.6).
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Dept. of Math. & Comp. Science
PHONE: +31 40 247 41 25| Technische Universiteit Eindhoven
FAX:+31 40 247 54 04| PO Box 513, NL-5600 MB Eindhoven
http://www.win.tue.n
ake up the full attention of the kernel for any significant
amount of time. Even under an interrupt driven service there would be
jitter and an unpredictable response time before the service routine is
actually run.
TomW
--
Tom Walsh - WN3L - Embedded Systems Consultant
http://openha
most
of those texts are not so accessible to the layman. I have written
a short article on it for secondary educations, that I hope is more
accessible:
Gyula Horvath, Tom Verhoeff.
``Numerical Difficulties in Pre-University Informatics Education
and Competition
to make the GMP functions available as operators under GNU Pascal.
The (ultimate) goal is that you can simply write things like
r := (a + b) * c where a, b, and c have a GMP number type,
instead of writing things like mpq_add ( r, a, b ) ; mpq_mul ( r, r, c ) .
Tom
--
E-MAIL: T.Verhoeff @ TUE.
otnote in a book on
VLSI design):
"pi = sqrt(10) for small values of pi"
With apologies for the increasing off-topicness,
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Dept. of Math. & Comp. Science
PHONE: +31 40 247 41 25| Technische Universiteit Eindhoven
FAX:
formed
> > as a link.
>
> http://www.freepascal.org/docs-html/rtl/system/stringfunctions.html
These functions are not only for strings, but (more generally) for dynamic
arrays (as well). I haven't checked to see if they are documented there,
but one would expect/hope so.
QuickTrace := False
KeepReleased := False { default }
does not produce these error lines.
This second problem also appears on FPC 2.0.4 under Mac OS X.
Thanks for any feedback,
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Dept. of Math. & Comp. Science
PHONE: +31 40 247 4
On Fri, Dec 14, 2007 at 12:28:04PM +0100, Vincent Snijders wrote:
> Tom Verhoeff schreef:
> >We use the HeapTrc facility in our education to get an impression of
> >memory management issues in programs submitted for assignments.
> >
> >Typically our Peach.win.tue.nl s
itory root
on <http://svn.freepascal.org/cgi-bin/viewvc.cgi/> ?
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Dept. of Math. & Comp. Science
PHONE: +31 40 247 41 25| Technische Universiteit Eindhoven
FAX:+31 40 247 54 04| PO Box 513, NL-5600 MB Eindhoven
http://w
n Linux servers and backup using gbak.
Tom
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
ly some other languages like Eiffel, ...).
For Pascal, you can also consider LWP (Light-Weight Pascal) at
<http://www.pascal-central.com/lwp/lightweight.html>
Have fun,
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Dept. of Math. & Comp. Science
PHONE: +31 40 247 41 25
ng formatexception
Linking formatexception
7 Lines compiled, 0.3 sec
[EMAIL PROTECTED](230) ./formatexception
An unhandled exception occurred at 0x0805093B :
ECONVERTERROR : Invalid argument index in format ""
0x0805093B
Thanks,
Tom
___
ife has become "somewhat" more complicated. I have yet to try FreePascal
with XCode. I have only used XCode for some Eiffel programming (a very
nice system, by the way).
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Fac. of Math. & Computing Science
PHONE: +31 40 247 41 25
mpression that the check is inlined and the message parameter is
evaluated only on failure.
Can someone confirm that this is indeed always the way it is handled?
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Fac. of Math. & Computing Science
PHONE: +31 40 247 41 25| Eindhoven
undary is between
RTL and FCL. Classes is listed under FCL, and is documented under RTL.
Thanks,
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Fac. of Math. & Computing Science
PHONE: +31 40 247 41 25| Eindhoven University of Technology
FAX:+31 40 247 54 04| PO Box
efer
to the Delphi documentation.
If I understand the situation better, I will contribute an article
about FCL to the Wiki (there is an FCL entry, but it only contains
a question, not useful information).
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Fac. of Math. & Computing Science
PH
problem remains when SysUtils is used as well.
This makes it very awkward to find the source of such unhandled exceptions.
(Something similar seems to happen with incorrect calls to Format.)
Is there any workaround?
Tom
--
program UnassignedProcedureBug;
{ compile with -gl -Mdelphi
On Thu, Jul 14, 2005 at 01:12:23AM +0200, Marcel Martin wrote:
> Tom Verhoeff a écrit :
> >begin
> > VMyClass := TMyClass.Create;
> > //VMyClass.FP := VMyClass.P; { with this assignment, it works }
> > VMyClass.FP; { this causes an Access Violation }
>
>
On Thu, Jul 14, 2005 at 10:27:01AM +0200, Peter Vreman wrote:
> > Tom Verhoeff a écrit :
> >
> > The point is that there is no stack trace with line numbers on the
> > (obviously correct) exception, in spite of the option -gl (even when
> > explicitly using SysUtils)
runtime error. This is the behavior I would in fact
expect.
At some point in the 1.9 branch, this changed (and now it bites me).
Now it silently assigns 0 to i on the second read. Even with -Ci as
option or {$I+}.
Can anyone comment on this?
Should I submit a bug report?
Tom
--
E-MAIL
1 - 100 of 108 matches
Mail list logo