On Tuesday 19 March 2013 00:05:39 Justin Smyth wrote:
> Does that allow debugging via Lazarus ?
>
Currently I use MSEide in order to develop a M3 based based project (Energy
Micro Tiny Gecko). Although with gcc but FPC could be used too I assume.
Debugging connection is a Segger J-Link provided b
I am not sure, but I think that is not possibe.
For me I don't need debugger.
Am Tuesday 19 March 2013 00:05:39 schrieb Justin Smyth:
> Does that allow debugging via Lazarus ?
>
> -Original Message-
> From: "Rainer Stratmann"
> Sent: 19/03/2013 9:29 AM
> To: "FPC-Pascal users discussio
Does that allow debugging via Lazarus ?
-Original Message-
From: "Rainer Stratmann"
Sent: 19/03/2013 9:29 AM
To: "FPC-Pascal users discussions"
Subject: Re: [fpc-pascal] [OT] Pascal compiler for embedded platforms
I had my own (simple) board Jeppe gave me an upload program written
I had my own (simple) board Jeppe gave me an upload program written by his own
which works perfect.
May be you can ask him. He is the specialist for that stuff.
Am Sunday 17 March 2013 10:08:19 schrieb Justin Smyth:
> Rainer what board were using using for this below ?
>
> -Original Message-
On 18/03/2013 08:47, Noah Silva wrote:
Hi,
According to this guide:
http://lazarus-ccr.sourceforge.net/docs/fcl/process/tprocess.html
Thanks for the note.
The Executable and Parameters properties should be used instead.
You may also find this interesting:
http://wiki.freepascal.org/Executing
On 3/18/13, Jürgen Hestermann wrote:
> You won't cripple down all variables to one letter names A, B, C only
> because this is easier to type, won't you?
You would if you'ld be programming in MUMPS ;-)
Bart
___
fpc-pascal maillist - fpc-pascal@lists
At 10:03 AM 3/18/2013, Jürgen Hestermann wrote:
Am 2013-03-16 07:13, schrieb Xiangrong Fang:
I would like to do this:
with MyClassInstance as mci, SomethingElse do begin
Caption := 'A new caption';
for i := 0 to Count - 1 do
mci[i] := UpperCase(mci[i]);
end;
That is, to add an optiona
Am 2013-03-16 07:13, schrieb Xiangrong Fang:
I would like to do this:
with MyClassInstance as mci, SomethingElse do begin
Caption := 'A new caption';
for i := 0 to Count - 1 do
mci[i] := UpperCase(mci[i]);
end;
That is, to add an optional "as" clause to the with statement so that access
a
On Monday 18 March 2013 14:27:25 leledumbo wrote:
> > Is it possible to make a forward declaration for a0?
>
> No, forward type declaration is possible (with the restriction that the
> type must be based on pointer and the real declaration starts in the same
> type block), but forward variable decl
Am 18.03.2013 15:24, schrieb Flávio Etrusco:
On Mon, Mar 18, 2013 at 10:42 AM, Sven Barth
wrote:
Am 18.03.2013 10:36 schrieb "Xiangrong Fang" :
(...)
I cannot recall if there is already a notion of "alias" in free pascal, if
not then we just introduce this idea within the scope of "with" expre
> Is it related to COM or DLL stuff?
No, though might be if you want to export with your own symbol in DLL
> Where is this kind of usage documented in the manual?
http://www.freepascal.org/docs-html/ref/refsu64.html
--
View this message in context:
http://free-pascal-general.1045716.n5.nabbl
2013/3/18 leledumbo
> > I cannot recall if there is already a notion of "alias" in free pascal,
> if
> not then we just introduce this idea within the scope of "with" expression.
>
> Let me give you one then:
>
> procedure p; [public, alias: 'my_p'];
>
Is it related to COM or DLL stuff? Where is
On Mon, Mar 18, 2013 at 10:42 AM, Sven Barth
wrote:
> Am 18.03.2013 10:36 schrieb "Xiangrong Fang" :
> (...)
>> I cannot recall if there is already a notion of "alias" in free pascal, if
>> not then we just introduce this idea within the scope of "with" expression.
>
> Which is why I suggested "ab
Le 18/03/2013 14:24, Michael Van Canneyt a écrit :
On Mon, 18 Mar 2013, Antonio Fortuny wrote:
Hi Folks.
Where do I use oldlinux from ?
Don't use oldlinux.
I'd like to use the Fork function but Lazarus tells me
IpDaemon.lpr(0,0) Fatal: Can not find unit oldlinux used by IpDaemon.
whereas
On 03/18/2013 02:30 PM, leledumbo wrote:
>> I cannot recall if there is already a notion of "alias" in free pascal, if
> not then we just introduce this idea within the scope of "with" expression.
>
> Let me give you one then:
>
> procedure p; [public, alias: 'my_p'];
>
And another one:
var
Am 18.03.2013 10:36 schrieb "Xiangrong Fang" :
>
> 2013/3/18 Marco van de Voort
>>
>> In our previous episode, Xiangrong Fang said:
>> > > In our previous episode, Xiangrong Fang said:
>> > > > Alternatively, how about just use SPACE to separate the token?
i.e.:
>> > > >
>> > > > with SomeObject o
> I cannot recall if there is already a notion of "alias" in free pascal, if
not then we just introduce this idea within the scope of "with" expression.
Let me give you one then:
procedure p; [public, alias: 'my_p'];
--
View this message in context:
http://free-pascal-general.1045716.n5.nab
> Is it possible to make a forward declaration for a0?
No, forward type declaration is possible (with the restriction that the type
must be based on pointer and the real declaration starts in the same type
block), but forward variable declaration is not. You won't gain much benefit
from doing the
oldlinux unit has been long deprecated. Use fpFork from BaseUnix as
replacement: http://www.freepascal.org/docs-html/rtl/baseunix/fpfork.html
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/Fork-tp5713675p5713677.html
Sent from the Free Pascal - General mailing
On Mon, 18 Mar 2013, Antonio Fortuny wrote:
Hi Folks.
Where do I use oldlinux from ?
Don't use oldlinux.
I'd like to use the Fork function but Lazarus tells me
IpDaemon.lpr(0,0) Fatal: Can not find unit oldlinux used by IpDaemon.
whereas the source unit is in /usr/share/focsrc/linux but n
Hi Folks.
Where do I use oldlinux from ?
I'd like to use the Fork function but Lazarus tells me
IpDaemon.lpr(0,0) Fatal: Can not find unit oldlinux used by IpDaemon.
whereas the source unit is in /usr/share/focsrc/linux but no .O and .ppu
neither
Antonio
--
On Mon, 18 Mar 2013 15:36:13 +0800
Xiangrong Fang wrote:
> Alternatively, how about just use SPACE to separate the token? i.e.:
>
> with SomeObject o1, SomeOtherObject o2 do
I think this is a bad idea.
One of the strengths of Pascal is its verbosity/redundancy which allows
unambiguous error
2013/3/18 Marco van de Voort
> In our previous episode, Xiangrong Fang said:
> > > In our previous episode, Xiangrong Fang said:
> > > > Alternatively, how about just use SPACE to separate the token? i.e.:
> > > >
> > > > with SomeObject o1, SomeOtherObject o2 do
> > >
> > > That's perfectly
In our previous episode, Xiangrong Fang said:
> > In our previous episode, Xiangrong Fang said:
> > > Alternatively, how about just use SPACE to separate the token? i.e.:
> > >
> > > with SomeObject o1, SomeOtherObject o2 do
> >
> > That's perfectly fine for C. But this isn't C.
>
> What's wro
On 2013-03-15 10:46, Graeme Geldenhuys wrote:
>
> In seems that the 'gmake install' doesn't install the lib*.a files that FPC
> generates, so my apps fail to link.
Just as a test. I checked out the 'fixes_2_6' branch, and used my same
build script as I did before. It successfully built and insta
On 2013-03-15 21:22, Marco van de Voort wrote:
>
> Try adding RELEASE=1
>
It still fails. Do you Marco, or anybody else, know where the actual
code is in fpmake or Makefiles that says "copy all *.ppu, *,o and *.a
files to INSTALL_PREFIX"?
I don't really understand Makefile syntax that well (nev
On 2013-03-17 08:59, Reinier Olislagers wrote:
> Tried installing
> /usr/ports/emulators/linux_dist-gentoo-stage3
> which failed: got an error saying it was broken.
Did you do a ports update before you tried to install it? Always update
ports first, and read the UPDATING file for any possible nast
On 2013-03-17 08:59, Reinier Olislagers wrote:
> what Linux is FreeBSD trying to emulate - RHEL 6?
Fedora 10 as far as I can see.
I've installed the emulators/linux_base-f10/ and x11/linux-xorg-libs/
(as recommended in FreeBSD Handbook) without problems, and can run
32-bit Linux apps with no pr
2013/3/18 Marco van de Voort
> In our previous episode, Xiangrong Fang said:
> > Alternatively, how about just use SPACE to separate the token? i.e.:
> >
> > with SomeObject o1, SomeOtherObject o2 do
>
> That's perfectly fine for C. But this isn't C.
>
What's wrong here? In pascal, we also s
In our previous episode, Xiangrong Fang said:
> Alternatively, how about just use SPACE to separate the token? i.e.:
>
> with SomeObject o1, SomeOtherObject o2 do
That's perfectly fine for C. But this isn't C.
___
fpc-pascal maillist - fpc-pascal@
Hi,
I need to build linked list constants, something like
"
type
pbty = ^bty;
aty = record
b: pbty;
end;
paty = ^aty;
bty = record
a: paty;
end;
const
b0: bty = (a: @a0); //Error: Identifier not found "a0"
a0: aty = (b: @b0);
"
Is it possible to make a forward declaration for a0?
Alternatively, how about just use SPACE to separate the token? i.e.:
with SomeObject o1, SomeOtherObject o2 do
Because you need a COMMA for 2 or more expressions in with, and SPACE is
not valid in token?
2013/3/18 Sven Barth
> Am 18.03.2013 04:17 schrieb "Xiangrong Fang" :
>
> >
> > OK, I
18.03.13, 11:16, Xiangrong Fang пишет:
OK, I see. However I feel "=>" a very "un-pascal" thing, remind me of
PHP. :-) I guess "as" would also complicate the parser?
I did not suggest to use '=>' I wrote:
> Where '=>' is some token which can't be used in expressions.
Which means replace '=>
33 matches
Mail list logo