On 5 April 2010 21:26, John Coppens wrote:
>
> I'm sure the selection of IPF/INF caused some discussion at the time,
> particularly at a time where xml is the magic recipe for everything ;-)
As Marco said, the class documentation is in XML and gets transformed
to other "final" formats via the 'fpd
That's fine, thanks. It's between integers and floating points actually, so
declaring the floating point one with Extended is better, I guess.
--
View this message in context:
http://old.nabble.com/Help-creating-generic-class%3A-division-problem-tp28140305p28147009.html
Sent from the Free Pascal
On Mon, Apr 5, 2010 at 8:29 PM, Justin Smyth
wrote:
> guys i've been working on a port of an application that uses the Com
> IPersist Interface , one of its procedures seems to be wrong ,
>
>
> Function GetClassId(clsid:TClsId):HResult; StdCall;
>
> yet i believe it should be
>
> Function GetClass
guys i've been working on a port of an application that uses the Com IPersist
Interface , one of its procedures seems to be wrong ,
Function GetClassId(clsid:TClsId):HResult; StdCall;
yet i believe it should be
Function GetClassId(out clsid:TClsId):HResult; StdCall
i've checked the MSDN and
On Mon, April 5, 2010 21:38, Jonas Maebe wrote:
> On 05 Apr 2010, at 21:21, John Coppens wrote:
>
>> Anyone had a similar experience?
>
> As the DosEMU output says: "ERROR: Please report the contents of
> ~/.dosemu/boot.log at
> http://sourceforge.net/tracker/?atid=457447&group_id=49784&func=browse
In our previous episode, John Coppens said:
> Graeme Geldenhuys wrote:
>
> > Wikipedia has some information on IPF.
> > http://en.wikipedia.org/wiki/Information_Presentation_Facility
>
> Thanks for the extensive answer, Graeme!
>
> I'm sure the selection of IPF/INF caused some discussion at t
On 05 Apr 2010, at 21:21, John Coppens wrote:
> Anyone had a similar experience?
As the DosEMU output says: "ERROR: Please report the contents of
~/.dosemu/boot.log at
http://sourceforge.net/tracker/?atid=457447&group_id=49784&func=browse";
This is a bug in DosEMU.
> (NOTE: I tried dosbox too
On Mon, 5 Apr 2010 17:25:44 +0200
Graeme Geldenhuys wrote:
> Wikipedia has some information on IPF.
> http://en.wikipedia.org/wiki/Information_Presentation_Facility
Thanks for the extensive answer, Graeme!
I'm sure the selection of IPF/INF caused some discussion at the time,
particularly at a
On Mon, 5 Apr 2010 17:04:55 +0200
Jonas Maebe wrote:
> Unlikely. You can always disable the explicitly with -O-. Without a
> compilable example program that demonstrates the problem I cannot help
> further.
Ok... Thanks! Will try to extract the important part.
John
_
Hello all,
After installing fpc 2.4.0 on a freedos directory, I had the following
problems:
- I tried to install using the install program, but dosemu crashed when
clicking on 'Continue'
- So I installed the base package manually, adjusted the path. Now fpc
(without arguments) starts correctly,
Michael Van Canneyt wrote:
> MPI is for passing messages between parallel running tasks. (the name
> means Message Passing Interface)
> This is what Active Objects does.
>
> To me, the difference seems that Active Objects runs within a single
> process, and MPI allows to run the tasks in different
On Mon, 5 Apr 2010, Werner Van Belle wrote:
Michael Van Canneyt wrote:
Hello,
This looks promising.
Can you explain the similarities and differences with MPI ?
That would require me to read up on what MPI is and honoustly, I'm not a
big fan on doing that, certainly not after I went to their
Michael Van Canneyt wrote:
> Hello,
> This looks promising.
>
> Can you explain the similarities and differences with MPI ?
That would require me to read up on what MPI is and honoustly, I'm not a
big fan on doing that, certainly not after I went to their homepage and
saw around 70 lines of contrib
Hello,
This looks promising.
Can you explain the similarities and differences with MPI ?
Several people have asked about MPI in Free Pascal. Maybe
this is an answer for them.
Michael.
On Mon, 5 Apr 2010, Werner Van Belle wrote:
Hello,
After the couple of questions I had about reference co
On 5 April 2010 16:19, John Coppens wrote:
>
> Sorry for my ignorance - what are INF files? Google seems confused too.
INF files are compiled (binary) IPF [Information Presentation
Facility] help files. It is the help file and digital document format
originally created by IBM for the OS/2 operati
On 05 Apr 2010, at 16:36, John Coppens wrote:
> gives:
>
> 654 if ch = eofchar then
> (gdb) n
> 655 sy := sps[ch]
> (gdb)
> 659 goto 1;
> (gdb)
> 661 symbol_read := true;
>
> Does this have anything to do with optimizations?
Unlikely. You can always disable
On Mon, 5 Apr 2010 16:21:33 +0200
Jonas Maebe wrote:
> This usually means that you modified the file since it was loaded in
> the debugger.
And it still gives some strange result:
if ch = eofchar then
sy := sps[ch]
else begin
error(erchar);
nextch;
g
On 05 Apr 2010, at 16:27, John Coppens wrote:
> Doesn't gdb detect source code changes? It's been a while, but I seem to
> remember gdb warning about the C source file having been changed.
GDB warns if *on startup* the time stamp of a source file is newer than that of
the binary. If you change
On Mon, 5 Apr 2010 16:21:33 +0200
Jonas Maebe wrote:
> > I haven't seen this kind of problem before, not in Pascal nor in C.
> > Why is the '... to 1' appearing in the listing?
>
> This usually means that you modified the file since it was loaded in
> the debugger.
That was it - but it seems sl
On 05 Apr 2010, at 16:17, John Coppens wrote:
> I haven't seen this kind of problem before, not in Pascal nor in C.
> Why is the '... to 1' appearing in the listing?
This usually means that you modified the file since it was loaded in the
debugger.
Jonas___
On Mon, 5 Apr 2010 00:07:07 +0200
Graeme Geldenhuys wrote:
> Luckily (no offence meant) the documentation doesn't change that much
> or that quickly. I'll probably keep to the same release cycle as FPC -
> whenever a new FPC is released, release new FPC INF docs too.
Hi Graeme,
Sorry for my ign
Hi all,
When trying to debug a series of events in a program, parts of source
lines disappear - apart from the fact that the execution secuence seems
very off.
This extract from the source file:
if ch = eofchar then
sy := sps[ch]
else begin
error(erchar);
next
If it is only between int and double, maybe this will help
have on overload function
class function TMedian.Div(Value, Divider: Integer): Integer; // Result
:= Value div Divider
class function TMedian.Div(Value, Divider: Double): Double; // Result
:= Value / Divider
then the compiler choose
consider the following generic class declaration:
{$mode objfpc}{$H+}
type
generic TMedian = class
class function Find(x: array of T): T;
end;
class function TMedian.Find(x: array of T): T;
var
i, j, Middle: Integer;
Temporary: T;
begin
// Use truncated selection sort to find medi
On 05/04/2010, cobines wrote:
> >>
> > I'm not sure that is correct. Once you free Test, Pest still points to
> > the same non existing object and you can use assigned to check it,
>
>
> Pest would be a dangling pointer and should not be accessed.
Correct, and that was what I was trying to get
On 05/04/2010, Michael Van Canneyt wrote:
>> Yes, it's still on my todo list.
>
> One day, you should publish this list.
:-) By the sounds of things, I don't think your list is going to be
much smaller than mine. ;-)
--
Regards,
- Graeme -
___
fpG
On Mon, 5 Apr 2010, Graeme Geldenhuys wrote:
On 4 April 2010 18:21, Michael Van Canneyt wrote:
The disadvantage being that they are not updated when the documentation
is updated.
Luckily (no offence meant) the documentation doesn't change that much
or that quickly. I'll probably keep to t
27 matches
Mail list logo