Hello Jürgen,
Saturday, December 20, 2008, 6:46:06 PM, you wrote:
JH> Form1.ListBox1.Items.Add(AnsiToUTF8('ö'));
JH> Form1.ListBox1.Items.Strings[Count-1] := (AnsiToUTF8('ö'));
JH> How is this supposed to work? Even if the wrong coding is used I don't
JH> understand why th
Am Samstag, den 20.12.2008, 12:39 +0100 schrieb Michael Van Canneyt:
>
> On Sat, 20 Dec 2008, Marc Santhoff wrote:
>
> > Hi,
> >
> > I'd like to ask:
> >
> > Is there any tool for creating the syntax diagrams shown in the
> > reference guide?
>
> I used LaTeX ?
Interesting.
> Or did you mea
Michael Van Canneyt wrote:
I would think that
TTextRec(Error).Handle:=TTextRec(StdOut).Handle
Does the trick ?
TextRec(StdErr) etc... it works and is certainly good enough. Program
self-checks OK so I'm fairly confident it's ported correctly, now to
start off with the object wrappers to
Hi,
I have analyzed the bug in the TListBox further and found that adding or
modifying a string from to a TListBox fails if the strings contains
foreign characters like german umlauts as in
Form1.ListBox1.Items.Add('ö');
Form1.ListBox1.Items.Strings[Count-1] := ('ö');
On Sat, 20 Dec 2008, Mark Morgan Lloyd wrote:
> I can get a program compiled with Turbo Pascal to use the existing stderr
> handle for output like this:
>
> PROGRAM Meta2(Input, Output, Error);
> ..
> Assign(Error, '');
> Rewrite(Error);
> TextRec(Error).Handle:= 2;
>
> or in the case of
I can get a program compiled with Turbo Pascal to use the existing
stderr handle for output like this:
PROGRAM Meta2(Input, Output, Error);
..
Assign(Error, '');
Rewrite(Error);
TextRec(Error).Handle:= 2;
or in the case of Delphi:
program Meta2;
..
Assign(Error, '');
Rewrite(Error);
On Sat, 20 Dec 2008 17:00:37 +
Mark Morgan Lloyd wrote:
> Mattias Gaertner wrote:
> > On Sat, 20 Dec 2008 16:21:45 +0100
> > JoshyFun wrote:
> >
> >> Hello Mark,
> >>
> >> Saturday, December 20, 2008, 1:40:15 PM, you wrote:
> >>
> >> MML> Already am using (*$MODE DELPHI *)
> >>
> >> Hmmm...
Mattias Gaertner wrote:
On Sat, 20 Dec 2008 16:21:45 +0100
JoshyFun wrote:
Hello Mark,
Saturday, December 20, 2008, 1:40:15 PM, you wrote:
MML> Already am using (*$MODE DELPHI *)
Hmmm... this should be {$MODE DELPHI} do not ? using (* *) you get a
comment, or maybe I'm wrong ?
In Delphi mo
On Sat, 20 Dec 2008 16:21:45 +0100
JoshyFun wrote:
> Hello Mark,
>
> Saturday, December 20, 2008, 1:40:15 PM, you wrote:
>
> MML> Already am using (*$MODE DELPHI *)
>
> Hmmm... this should be {$MODE DELPHI} do not ? using (* *) you get a
> comment, or maybe I'm wrong ?
>
> In Delphi mode you
Hello Mark,
Saturday, December 20, 2008, 1:40:15 PM, you wrote:
MML> Already am using (*$MODE DELPHI *)
Hmmm... this should be {$MODE DELPHI} do not ? using (* *) you get a
comment, or maybe I'm wrong ?
In Delphi mode you must not need the @ for procedural assigns.
--
Best regards,
JoshyFun
Michael Van Canneyt wrote:
Is there a directive or mode that will allow a procedure variable to be
compatible with AddressOf() as defined? Alternatively is there a type which is
compatible with any procedure variable (i.e. like Modula-2's PROC, if my
memory is correct), and can I overload Addres
On Fri, 19 Dec 2008, Mark Morgan Lloyd wrote:
> I've got a few thousand lines of Pascal which I'm converting to FPC. It's
> actually the Meta-2 compiler-compiler which despite its age I still find
> useful for embedded script processing, I hope eventually to get it running on
> SPARC and possibl
On Sat, 20 Dec 2008, Marc Santhoff wrote:
> Hi,
>
> I'd like to ask:
>
> Is there any tool for creating the syntax diagrams shown in the
> reference guide?
I used LaTeX ?
Or did you mean a graphical tool ? I've never found one, but then
I never looked very hard.
Michael.
__
I'm curious why my FPIDE with GDB 6.8 compiled with MinGW crashes while GDB
says OK (see http://bugs.freepascal.org/view.php?id=11968
http://bugs.freepascal.org/view.php?id=11968 ). Perhaps I didn't build GDB
correctly, so may I know what options do you supply when calling configure?
--
View thi
leledumbo wrote:
FPC treats procedural types "a little" different from Delphi / TP, see
http://www.freepascal.org/docs-html/ref/refse17.html this . You can
therefore write your AddressOf function as:
FUNCTION AddressOf(VAR x): POINTER;
... // variables (if you ever need)
begin
{$ifdef fpc}
Add
15 matches
Mail list logo