Hi all,
Looked into getting an fpcup FreeBSD x64=>Linux x86 cross compiler
module going on PC-BSD 9/FreeBSD 9.1.
Although the /compat/linux library is there, it misses binutils like as,
ld etc and I presume it misses a lot of libraries, too.
Tried installing
/usr/ports/emulators/linux_dist-gento
Rainer what board were using using for this below ?
-Original Message-
From: Rainer Stratmann
Sent: Saturday, March 16, 2013 7:15 PM
To: FPC-Pascal users discussions
Subject: Re: [fpc-pascal] [OT] Pascal compiler for embedded platforms
May be you can use STM32F...
That works for me wi
On 17.03.2013 04:07, 印場 乃亜 wrote:
I think having functions/procedures with no arguments callable with
procedurename() is un-pascal-like as well, but it hardly bothers me that FPK
allows it. Just because I don't love it doesn't mean others don't. (There is
a lot of C like syntax that has cree
On 17.03.2013 06:00, Flávio Etrusco wrote:
On Sun, Mar 17, 2013 at 12:16 AM, Daniel Gaspary wrote:
On Sun, Mar 17, 2013 at 12:07 AM, 印場 乃亜 wrote:
On 2013/03/17, at 11:37, Flávio Etrusco wrote:
Daniel, I find this hack as ingenious as atrocious ;-)
But thinking about it a bit, when FPC gets
Al 17/03/13 03:37, En/na Flávio Etrusco ha escrit:
> unfortunate, because IMO the 'with' syntax is one of the most
> abominable un-pascal things Borland introduced in the language, and
> *forcing* the AS syntax (but probably with some other keyword like
> ALIAS) would make it much more palatable.
On 17.03.2013 11:07, Luca Olivetti wrote:
Al 17/03/13 03:37, En/na Flávio Etrusco ha escrit:
unfortunate, because IMO the 'with' syntax is one of the most
abominable un-pascal things Borland introduced in the language, and
*forcing* the AS syntax (but probably with some other keyword like
ALIAS
17.03.13, 18:25, Sven Barth пишет:
With a=VeryLongNameForARecord, b=AnotherRecordWithAVeryLongName do ...
Now THAT is really unpascalish... either ":=" or the already suggested
"as"...
Why? Constants and Types are also use '=' instead of ':=' for assignments.
Best regards,
Paul Ishenin
_
On Sun, 17 Mar 2013 11:25:05 +0100
Sven Barth wrote:
>[...]
> Now THAT is really unpascalish... either ":=" or the already suggested
> "as"...
The AS syntax bites already existing syntax.
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepasca
> The AS syntax bites already existing syntax.
May I know what's the existing syntax?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On 17-3-2013 11:48, Graeme Geldenhuys wrote:
> 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
On Sun, 17 Mar 2013 19:05:05 +0800
Xiangrong Fang wrote:
> > The AS syntax bites already existing syntax.
>
> May I know what's the existing syntax?
with A as T do
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freep
On 17.03.2013 11:53, Mattias Gaertner wrote:
On Sun, 17 Mar 2013 11:25:05 +0100
Sven Barth wrote:
[...]
Now THAT is really unpascalish... either ":=" or the already suggested
"as"...
The AS syntax bites already existing syntax.
Right. Then better ":=".
Regards,
Sven
_
On 17.03.2013 11:42, Paul Ishenin wrote:
17.03.13, 18:25, Sven Barth пишет:
With a=VeryLongNameForARecord, b=AnotherRecordWithAVeryLongName do ...
Now THAT is really unpascalish... either ":=" or the already suggested
"as"...
Why? Constants and Types are also use '=' instead of ':=' for assi
In our previous episode, Reinier Olislagers said:
> Looked into getting an fpcup FreeBSD x64=>Linux x86 cross compiler
> module going on PC-BSD 9/FreeBSD 9.1.
>
> Although the /compat/linux library is there, it misses binutils like as,
> ld etc and I presume it misses a lot of libraries, too.
>
>
In our previous episode, Sven Barth said:
> > I think having functions/procedures with no arguments callable with
> > procedurename() is un-pascal-like as well, but it hardly bothers me that
> > FPK allows it. Just because I don't love it doesn't mean others don't.
> > (There is a lot of C lik
In our previous episode, Sven Barth said:
> >
> > Texas Instruments' Pascal had an extension of the with statement, IIRC
> > it used = instead of AS
> >
> > With a=VeryLongNameForARecord, b=AnotherRecordWithAVeryLongName do ...
>
> Now THAT is really unpascalish... either ":=" or the already sugge
On 17/03/2013 12:54, Marco van de Voort wrote:
In our previous episode, Sven Barth said:
Now THAT is really unpascalish... either ":=" or the already suggested
"as"...
Since it is a pseudo variable declaration, I would assume VAR syntax and
just use ":" ?
Or maybe it should require a "variab
Al 17/03/13 13:16, En/na Sven Barth ha escrit:
> On 17.03.2013 11:42, Paul Ishenin wrote:
>> 17.03.13, 18:25, Sven Barth пишет:
With a=VeryLongNameForARecord, b=AnotherRecordWithAVeryLongName do ...
>>>
>>> Now THAT is really unpascalish... either ":=" or the already suggested
>>> "as"...
>>
>
Al 17/03/13 13:54, En/na Marco van de Voort ha escrit:
> In our previous episode, Sven Barth said:
>>>
>>> Texas Instruments' Pascal had an extension of the with statement, IIRC
>>> it used = instead of AS
>>>
>>> With a=VeryLongNameForARecord, b=AnotherRecordWithAVeryLongName do ...
>>
>> Now THAT
17.03.13, 20:16, Sven Barth пишет:
But we aren't in a constant or type section here. Also one uses ":=" in
the for-loop header.
I agree that ':=' should be used but I would not say that '=' is not
pascalish :)
Let's look look at possibilities:
1. 'as' can't be used because we can use expre
> On 17/03/2013 12:54, Marco van de Voort wrote:
>>
>> Since it is a pseudo variable declaration, I would assume VAR syntax and
>> just use ":" ?
This is indeed better.
On Sun, Mar 17, 2013 at 10:51 AM, Martin wrote:
> Or maybe it should require a "variable" declaration (or otherwise declared
>
On 17 Mar 2013, at 15:02, Luca Olivetti wrote:
> Al 17/03/13 13:54, En/na Marco van de Voort ha escrit:
>> In our previous episode, Sven Barth said:
Texas Instruments' Pascal had an extension of the with statement, IIRC
it used = instead of AS
With a=VeryLongNameForARec
On Sun, Mar 17, 2013 at 6:59 AM, Sven Barth wrote:
> On 17.03.2013 06:00, Flávio Etrusco wrote:
>>
>>type generic TAlias1 = class(TObject)
>> function Alias1: T;
>>end;
>
> This already works.
In 2.7 I assume, because it doesn't work in 2.6.2. Great anyway :)
>> function Alias1(So
Marco van de Voort wrote:
In our previous episode, Sven Barth said:
Texas Instruments' Pascal had an extension of the with statement, IIRC
it used = instead of AS
With a=VeryLongNameForARecord, b=AnotherRecordWithAVeryLongName do ...
Now THAT is really unpascalish... either ":=" or the already
On 17.03.2013 15:33, Flávio Etrusco wrote:
On Sun, Mar 17, 2013 at 6:59 AM, Sven Barth wrote:
On 17.03.2013 06:00, Flávio Etrusco wrote:
type generic TAlias1 = class(TObject)
function Alias1: T;
end;
This already works.
In 2.7 I assume, because it doesn't work in 2.6.2. Grea
On 17.03.2013 15:07, Paul Ishenin wrote:
If I need to choose from 3, 4 and 5 I would use ':=' syntax because it
more like to assignment:
with a := TStringList.Create do
begin
Text := 'bla';
DoSomething(a);
Free;
end;
Yes, I would prefer the ":=" as well because it's basically an
assi
On 17.03.2013 15:29, Jonas Maebe wrote:
On 17 Mar 2013, at 15:02, Luca Olivetti wrote:
Al 17/03/13 13:54, En/na Marco van de Voort ha escrit:
In our previous episode, Sven Barth said:
Texas Instruments' Pascal had an extension of the with statement, IIRC
it used = instead of AS
With a=Very
On 17-3-2013 13:38, Marco van de Voort wrote:
> In our previous episode, Reinier Olislagers said:
>> Looked into getting an fpcup FreeBSD x64=>Linux x86 cross compiler
>> module going on PC-BSD 9/FreeBSD 9.1.
>>
>> Although the /compat/linux library is there, it misses binutils like as,
>> ld etc a
On Sun, Mar 17, 2013 at 2:10 PM, Sven Barth wrote:
> On 17.03.2013 15:33, Flávio Etrusco wrote:
>>
>> (...)
>> static int IndexOf(List p_list, T p_item);
>
>
> So you're basically just talking about generic methods here?
Yes. Or actually not, it also involves allowing
non-specialized/not-complet
I am sorry I didn't follow this thread although I am the "OP" :-). If I
understand correct, I would suggest NOT introduce the "absolute" keyword,
instead, make it ALWAYS absolute. i.e.:
with a = SomeObject, b = SomeRecord do begin
... ...
end;
Both a and b are "reference" to the object or rec
18.03.13, 9:27, Xiangrong Fang пишет:
I am sorry I didn't follow this thread although I am the "OP" :-). If
I understand correct, I would suggest NOT introduce the "absolute"
keyword, instead, make it ALWAYS absolute. i.e.:
with a = SomeObject, b = SomeRecord do begin
... ...
end;
Both a a
OK, I see. However I feel "=>" a very "un-pascal" thing, remind me of PHP.
:-) I guess "as" would also complicate the parser?
2013/3/18 Paul Ishenin
> 18.03.13, 9:27, Xiangrong Fang пишет:
>
> I am sorry I didn't follow this thread although I am the "OP" :-). If
>> I understand correct, I w
Good day,
During the compile time, a received at warning message Symbol
"CommandLine" is deprecated.
They is another method to replace CommandLine from the TProcess? so that
I can avoid the warning message.
--
Kind Regards
Eric Kom
System Administrator & Programmer - Metropolitan College
Hi,
According to this guide:
http://lazarus-ccr.sourceforge.net/docs/fcl/process/tprocess.html
The Executable and Parameters properties should be used instead.
You may also find this interesting:
http://wiki.freepascal.org/Executing_External_Programs#TProcess
Thank you,
Noah Silva
2013/3/18
Am 18.03.2013 04:17 schrieb "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?
As already written by others: "as" is one of the worst tokens you can
choose for this, as it is perfectly legal to do
35 matches
Mail list logo