Thread View: news.software.readers
5 messages
5 total messages
Started by Alain GUERIN
Thu, 30 Oct 2003 10:34
[Dialog] Include commands fails if another comment is on the same line.
Author: Alain GUERIN
Date: Thu, 30 Oct 2003 10:34
Date: Thu, 30 Oct 2003 10:34
20 lines
1715 bytes
1715 bytes
Hello,
If a comment is on the same line that a {$include somefile}, it does not
compile.
The comment must be on another line.
bug:
{$include inc\AGHeaderFunctions} {This include, includes also Clipboard
functions}
ok:
{$include inc\AGHeaderFunctions}
{This include, includes also Clipboard functions}
If there is no other comment, I will enter it in Mantis
--
A.G.
Re: [Dialog] Include commands fails if another comment is on the same line.
Author: Malu'
Date: Thu, 30 Oct 2003 21:04
Date: Thu, 30 Oct 2003 21:04
26 lines
2097 bytes
2097 bytes
Thu, 30 Oct 2003 11:34:25 +0100
Alain GUERIN ha scritto:
> Hello,
>
> If a comment is on the same line that a {$include somefile}, it does not
> compile.
> The comment must be on another line.
>
> bug:
> {$include inc\AGHeaderFunctions} {This include, includes also Clipboard
> functions}
>
> ok:
> {$include inc\AGHeaderFunctions}
> {This include, includes also Clipboard functions}
>
> If there is no other comment, I will enter it in Mantis
Hello,
I think there is a conflict with the previous {}.
Have you tried to comment with (* and *) ?
--
Maria Luisa - 30/10/2003 22.01.35, here.
If all you have is a hammer, every problem looks like a nail.
Now playing: nothing, and savouring the silence.
Re: [Dialog] Include commands fails if another comment is on the same line.
Author: Alain GUERIN
Date: Fri, 31 Oct 2003 12:41
Date: Fri, 31 Oct 2003 12:41
41 lines
2492 bytes
2492 bytes
Hello,
On Thu, 30 Oct 2003 22:04:12 +0100, Malu' wrote:
> Thu, 30 Oct 2003 11:34:25 +0100 Alain GUERIN ha scritto:
>
>> bug: {$include inc\AGHeaderFunctions} {This include, includes also
>> Clipboard functions}
>>
>> ok: {$include inc\AGHeaderFunctions} {This include, includes also
>> Clipboard functions}
>>
>> If there is no other comment, I will enter it in Mantis
> I think there is a conflict with the previous {}.
It's not only a conflict, it is a total destruction ;-)
> Have you tried to comment with (* and *) ?
{$include inc\AGHeaderFunctions} (*This include, includes Clipboard
functions*)
gives a compilation error: (compiler messages is 'Could not find included
script file
"inc\agheaderfunctions} (*this include, includes clipboard functions*)" ')
and
(*$include inc\AGHeaderFunctions*) {This
include, includes Clipboard functions}
gives also a compilation error: (doesn't load include file)
There is, imho, at least one bug in the compiler analysis :-/
--
A.G.
Re: [Dialog] Include commands fails if another comment is on the same line.
Author: Malu'
Date: Fri, 31 Oct 2003 20:57
Date: Fri, 31 Oct 2003 20:57
45 lines
2831 bytes
2831 bytes
Fri, 31 Oct 2003 13:41:46 +0100
Alain GUERIN ha scritto:
> Hello,
>
> On Thu, 30 Oct 2003 22:04:12 +0100, Malu' wrote:
>
>> Thu, 30 Oct 2003 11:34:25 +0100 Alain GUERIN ha scritto:
>>
>>> bug: {$include inc\AGHeaderFunctions} {This include, includes also
>>> Clipboard functions}
>>>
>>> ok: {$include inc\AGHeaderFunctions} {This include, includes also
>>> Clipboard functions}
>>>
>>> If there is no other comment, I will enter it in Mantis
>
>> I think there is a conflict with the previous {}.
>
> It's not only a conflict, it is a total destruction ;-)
>
>> Have you tried to comment with (* and *) ?
>
> {$include inc\AGHeaderFunctions} (*This include, includes Clipboard
> functions*)
>
> gives a compilation error: (compiler messages is 'Could not find included
> script file
> "inc\agheaderfunctions} (*this include, includes clipboard functions*)" ')
>
> and
>
> (*$include inc\AGHeaderFunctions*) {This
> include, includes Clipboard functions}
>
> gives also a compilation error: (doesn't load include file)
>
> There is, imho, at least one bug in the compiler analysis :-/
I think so.
I tested it in Delphi and there the compiler doesn't bark ;)
--
Maria Luisa - 31/10/2003 21.53.26, here.
My software never has bugs. It just develops random features.
Now playing: nothing, and savouring the silence.
Re: [Dialog] Include commands fails if another comment is on the same line.
Author: Alain GUERIN
Date: Sat, 01 Nov 2003 17:15
Date: Sat, 01 Nov 2003 17:15
13 lines
1774 bytes
1774 bytes
Hello, On Fri, 31 Oct 2003 21:57:29 +0100, Malu' wrote: > > I think so. > I tested it in Delphi and there the compiler doesn't bark ;) I put it in Mantis, even if I think it is not Marcus responsibility -- A.G.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads