On Tuesday 13 October 2015 23:25:03 Michael Van Canneyt wrote:
> > But the existence of such a continue block shows the fundamental issue on
> > which a decision is needed. should (if a volunteer for a patch exists)
> > every little "save one statement in your code helper" be added? Because
> > th
On Tue, 13 Oct 2015 23:25:03 +0200 (CEST)
Michael Van Canneyt wrote:
>[...]
> The argument that we can refrain from using these new features does not hold,
> because other people will be using it, and we will have to know all of it to
> be able to understand their code.
And it costs precious ti
On Tue, Oct 13, 2015 at 5:25 PM, Michael Van Canneyt wrote:
> However, I seem to be one of the very few thinking this given the
> enthousiasm with which people are discussing this.
>
Even Niklaus Wirth regrets about bloating languages:
https://www.youtube.com/watch?v=BJIqHIYSDrk
thanks,
Dmitry
Am 13.10.2015 21:51 schrieb "Jonas Maebe" :
>
> On 13/10/15 19:59, Mohsen wrote:
>>
>> if (idtoken in [_EXPORT,_EXTERNAL,_WEAKEXTERNAL,_PUBLIC,_CVAR]) then
>>
>> ptconst.pas(95,45) Error: range check error in set constructor or
>> duplicate set element
>>
>> how to solve it ?
>
>
> Pascal sets can
Am 13.10.2015 21:42 schrieb "MohsenTi" :
>
> I want to add two overloadable operators “>>” and “<<” to use them as
“shr” and “shl” ,or writing into and reading from streams and the other
functions like those mentioned above.
Oh dear. You picked yourself the most complicated case in the whole
compi
On Tue, 13 Oct 2015, Martin Frb wrote:
wkitt...@windstream.net wrote:
a... my bad... sorry 'bout that... i've been thinking about this,
too... 'else' and 'otherwise' mean the same thing... what they seem to be
looking for is 'aswell'...
foo := 0;
while foo < 100 do
begin
inc(foo
On 13/10/15 19:59, Mohsen wrote:
if (idtoken in [_EXPORT,_EXTERNAL,_WEAKEXTERNAL,_PUBLIC,_CVAR]) then
ptconst.pas(95,45) Error: range check error in set constructor or
duplicate set element
how to solve it ?
Pascal sets can only contain values/enumerations whose ordinal value is
<= 255. Ther
I want to add two overloadable operators “>>” and “<<” to use them as “shr”
and “shl” ,or writing into and reading from streams and the other functions
like those mentioned above.
در تاریخ ۱۳ اکتبر ۲۰۱۵ ۲۲:۲۱، "Sven Barth"
نوشت:
> Am 13.10.2015 19:59 schrieb "Mohsen" :
> >
> > Hi
> > I need add t
wkitt...@windstream.net wrote:
a... my bad... sorry 'bout that... i've been thinking about this,
too... 'else' and 'otherwise' mean the same thing... what they seem
to be looking for is 'aswell'...
foo := 0;
while foo < 100 do
begin
inc(foo);
end;
aswell
begin
dec(foo);
en
Am 13.10.2015 19:59 schrieb "Mohsen" :
>
> Hi
> I need add two token to compiler to implement my ideas.
> adding first token done but second token cause range check exception in
lines like this
>
> if (idtoken in [_EXPORT,_EXTERNAL,_WEAKEXTERNAL,_PUBLIC,_CVAR]) then
>
> ptconst.pas(95,45) Error: ra
Am 13.10.2015 19:21 schrieb :
>>
>> If somebody really has to do this wouldn't "also" be a better choice to
avoid
>> (getting close to overloading "as"? :-/
>
>
> it might... i don't know anything about "as" because i've never used
it... what does it do?
It's an operator for casting classes and in
Hi
I need add two token to compiler to implement my ideas.
adding first token done but second token cause range check exception in
lines like this
if (idtoken in [_EXPORT,_EXTERNAL,_WEAKEXTERNAL,_PUBLIC,_CVAR]) then
ptconst.pas(95,45) Error: range check error in set constructor or
duplicate s
On 10/13/2015 1:32 AM, Michael Van Canneyt wrote:
I don't understand why anyone would want this marginal functionality
and thus (again) needlessly complicates the language, but hey, it's a
(mostly) free world
Alas, the monstrosity that Object Pascal syntax is becoming is less
and less
On 10/13/2015 09:40 AM, Mark Morgan Lloyd wrote:
wkitt...@windstream.net wrote:
a... my bad... sorry 'bout that... i've been thinking about this, too...
'else' and 'otherwise' mean the same thing... what they seem to be looking for
is 'aswell'...
foo := 0;
while foo < 100 do
begin
in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Mon, 12 Oct 2015 21:32:07 -0400, Wkitty42 (wkitt...@windstream.net)
wrote about "Re: [fpc-devel] Fwd: While - Otherwise Statement" (in
<561c5f17.4070...@windstream.net>):
[snip]
> that looks very much like what some would consider goto
> statements
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Mon, 12 Oct 2015 22:34:03 -0300, Flávio Etrusco
(flavio.etru...@gmail.com) wrote about "Re: [fpc-devel] Fwd: While -
Otherwise Statement" (in
):
> On Mon, Oct 12, 2015 at 7:15 PM, David W Noon
> wrote:
[snip]
>> loop_1: DO i = 1 TO m; loop_2 : DO
wkitt...@windstream.net wrote:
On 10/13/2015 04:32 AM, Michael Van Canneyt wrote:
On Mon, 12 Oct 2015, wkitt...@windstream.net wrote:
On 10/12/2015 03:43 PM, Martin Frb wrote:
Actually the above does not represent what the actual feature
request is about
The "else" is to be executed, afte
On 10/13/2015 04:32 AM, Michael Van Canneyt wrote:
On Mon, 12 Oct 2015, wkitt...@windstream.net wrote:
On 10/12/2015 03:43 PM, Martin Frb wrote:
Actually the above does not represent what the actual feature request is about
The "else" is to be executed, after the while (even if the while lo
Am 13.10.2015 08:36 schrieb "Jonas Maebe" :
>
> Sven Barth wrote:
>>
>> The intrafunctional gotos not really. But the interfunctional ones
>> (modeswitch nonlocalgoto in 2.7.1+) might mess with managed types ;)
>
>
> The compiler should give an error if you try to "goto" out of or into a
frame than
Am 13.10.2015 09:34 schrieb "Michael Van Canneyt" :
>
>
>
> On Mon, 12 Oct 2015, Marco van de Voort wrote:
>
>> In our previous episode, Michael Van Canneyt said:
>
>
> I'm not sure this kind of semantics is possible with a compiler
intrinsic...
>
> But if it is: In th
On Mon, 12 Oct 2015, wkitt...@windstream.net wrote:
On 10/12/2015 03:43 PM, Martin Frb wrote:
Actually the above does not represent what the actual feature request is
about
The "else" is to be executed, after the while (even if the while looped
ZERO
times).
But it is to be skipped if the
On Mon, 12 Oct 2015, Marco van de Voort wrote:
In our previous episode, Michael Van Canneyt said:
I'm not sure this kind of semantics is possible with a compiler
intrinsic...
But if it is: In that case the IfThen or IIF() or somesuch has my
absolute top preference, followed by ternary. (a
22 matches
Mail list logo