On 2020-06-08 13:55, Richard Hainsworth wrote:
Todd,
The 'unit' in line 3 means something like 'this whole file is the
Module' so there are no Begins/Ends/brackets.
Poop. I spaced on that. I start all my moduels with
1: unit module <name goes here>;
The opening bracket for class Informing is on (or about) line 10 and the
closing in at about line 630, with a comment 'end of Informing class'
Richard
Hi Richard,
Ah Ha! and 626's bracket is not blue. Geany
does that some times.
9: class Informing {
626: } # end of Informing class
Okay now. I missed this because of line 8:
8: =comment code for the inform dialog box
9: class Informing {
has $!app;
has Bool $!reinit = True;
has $!inf-lable;
has $!box;
has $!btn-box;
has $!deleted_supply;
has $!title;
has $!position;
has $!timer-lable;
has @!buttons;
has @!entries;
has %.data = {};
has $.response;
has Supply $!sup = self.g-timeout(1000);
has Tap $!tap;
has Int $!timer = 10;
has Bool $!show-countdown = True;
27: has Str $.text is rw = "Say <span
color=\"green\">something</span><span weight=\"bold\" color=\"red\">
beautiful</span>";
28: <blank line>
Everything from line 8 to line 27 is a "comment". The
comment does not terminate until the first blank line,
which is 28.
Seems to me the comment rules are being violated here.
The comment does not terminate until the first blank
line.
What am I missing, again.
:'(
-T