One Series but fleet/class 1 has 6 races and fleet/class 2 has 2 races

What i am trying to do is probably unachievable but i thought i would ask.

We have a fleet of One Design boats and the club is trying to develop Gold and Silver fleet within the group to that end it has been decided to try and develop a TCF handicap primarily based around the age of the particular boat to see if it will help in identifying the Gold and Silver candidates.

The whole fleet will sail a short series over a week end of 6 races.

Of those 6 races 2 of them will be scored twice, Once as normal 'First past the post" order

then also by elapse time.

I have set up the two classes (Normal & Handicap) and within the scoring system i have the classes identified with NONE (Normal) and TCF(Handicap) ratings.

The rating scores will only be input for races 2 and 5 of the 6 race series.

Is there a way to score the complete series but without the DNC code included in the races that are not part of the TCF results ie races 1,3,4 & 6

Thanks

John

Just an update i have tried various things including the creation of a Code that tries to create a score of Zero when the Class in question is not racing.

The code is accepted but when i try to Score series it errors with a message indicating my new code must have a value.

John

Hi John - I regularly use a code of “…” (two full stops) as a code for this.

Inline images 1

Inline images 2

You will have to decide what you do with discards and adjust appropriately.

Jon

···

On 16 August 2017 at 12:20, ejwjohn@gmail.com [sailwave] sailwave@yahoogroups.com wrote:

Just an update i have tried various things including the creation of a Code that tries to create a score of Zero when the Class in question is not racing.

The code is accepted but when i try to Score series it errors with a message indicating my new code must have a value.

John

Jon Eskdale
07530 112233

Skype “eskdale”

Jon,

Ok, the code of … seems to work much better that the code is used.

And it meets my requirements… that is great thanks… however i have one more request

I use the Highlights V3 Effect to colour the top 3 places and everyone likes it at the club, but when i use the … code all instances come up with the first place colour is there any way of modifying the Effect to ignore a score of Zero please???

Thank You

Hi John - You can stop the highlighting of codes by modifying the line in the effect (javascript)

See file HighlightWins3v3.js

// Results with these codes will not get highlighted add or remove codes to your choice

var ignoreText = /^(?!.\b(DNC|DNF|DNS|OCS|BFD|UFD|RET|DSQ|DGM|DNE)\b)./i

Add the … code in here

Regards

Jon

···

On 17 August 2017 at 00:36, ejwjohn@gmail.com [sailwave] sailwave@yahoogroups.com wrote:

Jon,

Ok, the code of … seems to work much better that the code is used.

And it meets my requirements… that is great thanks… however i have one more request

I use the Highlights V3 Effect to colour the top 3 places and everyone likes it at the club, but when i use the … code all instances come up with the first place colour is there any way of modifying the Effect to ignore a score of Zero please???

Thank You

Jon Eskdale
07530 112233

Skype “eskdale”

Jon,

Thank You for the assistance on this but i have obviously not executed the task that weel as it does not work I have changed the suggested line to the following:-

var ignoreText = /^(?!.\b(DNC|…|DNF|DNS|OCS|BFD|UFD|RET|DSQ|DGM|DNE)\b)./i

Is this correct? because it is still diplaying the results with the … and the other race with correct scoring has not been highlight at all??

thx

John W

Hi John - because a dot has a special meaning you would have to escape it with a \ so I would have expected .. to work but when I tested it, it did not. Not being a javascript/regexp expert it will take me some time to work out what the solution would be.

I will do that if that is definitely what you want but as I don’t fully understand what you are trying to achieve I would like you to try changing the … code to something like IGN and putting IGN in the effect

/^(?!.\b(DNC|DNF|IGN|DNS|OCS|BFD|UFD|RET|DSQ|DGM|DNE)\b)./i

This works as it doesn’t have the complication of the . But the question is does it then do what you want?

Jon

···

On 17 August 2017 at 09:34, ejwjohn@gmail.com [sailwave] sailwave@yahoogroups.com wrote:

Jon,

Thank You for the assistance on this but i have obviously not executed the task that weel as it does not work I have changed the suggested line to the following:-

var ignoreText = /^(?!.\b(DNC|…|DNF|DNS|OCS|BFD|UFD|RET|DSQ|DGM|DNE)\b)./i

Is this correct? because it is still diplaying the results with the … and the other race with correct scoring has not been highlight at all??

thx

John W

Jon Eskdale
07530 112233

Skype “eskdale”

Jon,

That worked. Thank you for your efforts.

All i am trying to do is to have these Handicapped races (2) scored as a Series without the other 4 races (DNC) being accumulated in the Series score…

Hope that makes sense.

John

Hi Jon,

  It would be good if you, or perhaps there is a SUG member

conversant with javascript/regex, could get this to work. It would
be very useful for when scoring events with medal race(s).

Also for your info – instead of … has same issue.

Kind regards,

Huw

···

On 17/08/2017 11:50, Jon Eskdale
[sailwave] wrote:

jon@sailwave.com

          Hi John - because a dot has a special meaning

you would have to escape it with a \ so I would have
expected .. to work but when I tested it, it did not.
Not being a javascript/regexp expert it will take me some
time to work out what the solution would be.

            I will do that if that is definitely what you want

but as I don’t fully understand what you are trying to
achieve I would like you to try changing the … code to
something like IGN and putting IGN in the effect

/^(?!.\b(DNC|DNF|IGN|DNS|OCS|BFD|UFD|RET|DSQ|DGM|DNE)\b)./i

            This works as it doesn't have the complication of the

. But the question is does it then do what you want?

Jon

Jon Eskdale
07530 112233

Skype “eskdale”

On 17 August 2017 at 09:34, ejwjohn@gmail.com
[sailwave] sailwave@yahoogroups.com
wrote:

Jon,

                        Thank You for the assistance on this but

i have obviously not executed the task that
weel as it does not work I have changed the
suggested line to the following:-

var ignoreText
= /^(?!.\b(DNC|…|DNF|DNS|OCS|BFD|UFD|RET|DSQ|DGM|DNE)\b)./i

                        Is this correct? because it is still

diplaying the results with the … and the
other race with correct scoring has not been
highlight at all??

thx

John W


Virus-free. www.avast.com

Hi Huw,

Think I will have to do something different with the Medal races (for Highlighting) as I don’t think this will help in that situation. As all the non medalists would then get 0 points which would as far a rank is concerned for that race would put them in front of the medalists. I did test it on a file with Medalists and without the extra code you get all the non medalists highlighted yellow and with the extra code you get no highlighting as the top three would have been yellow. Jon

···

On 17 August 2017 at 12:07, Huw Pearce huw.pearce@bcs.org.uk [sailwave] sailwave@yahoogroups.com wrote:

Hi Jon,

  It would be good if you, or perhaps there is a SUG member

conversant with javascript/regex, could get this to work. It would
be very useful for when scoring events with medal race(s).

Also for your info – instead of … has same issue.

Kind regards,

Huw
On 17/08/2017 11:50, Jon Eskdale
jon@sailwave.com [sailwave] wrote:

          Hi John - because a dot has a special meaning

you would have to escape it with a \ so I would have
expected .. to work but when I tested it, it did not.
Not being a javascript/regexp expert it will take me some
time to work out what the solution would be.

            I will do that if that is definitely what you want

but as I don’t fully understand what you are trying to
achieve I would like you to try changing the … code to
something like IGN and putting IGN in the effect

/^(?!.\b(DNC|DNF|IGN|DNS|OCS|BFD|UFD|RET|DSQ|DGM|DNE)\b)./i

            This works as it doesn't have the complication of the

. But the question is does it then do what you want?

Jon


Virus-free. www.avast.com

Jon Eskdale
07530 112233

Skype “eskdale”

Jon Eskdale
07530 112233

Skype “eskdale”

On 17 August 2017 at 09:34, ejwjohn@gmail.com
[sailwave] sailwave@yahoogroups.com
wrote:

Jon,

                        Thank You for the assistance on this but

i have obviously not executed the task that
weel as it does not work I have changed the
suggested line to the following:-

var ignoreText
= /^(?!.\b(DNC|…|DNF|DNS|OCS|BFD|UFD|RET|DSQ|DGM|DNE)\b)./i

                        Is this correct? because it is still

diplaying the results with the … and the
other race with correct scoring has not been
highlight at all??

thx

John W

Jon,

  Thanks for the feedback. I have done some testing in the recent

past and got the same essentially.

Kind regards,

Huw

···

On 17/08/2017 14:38, Jon Eskdale
[sailwave] wrote:

jon@sailwave.com

Hi Huw,

            Think I will have to do something different with the

Medal races (for Highlighting) as I don’t think this
will help in that situation. As all the non medalists
would then get 0 points which would as far a rank is
concerned for that race would put them in front of the
medalists. I did test it on a file with Medalists and
without the extra code you get all the non medalists
highlighted yellow and with the extra code you get no
highlighting as the top three would have been yellow.
Jon

Jon Eskdale
07530 112233

Skype “eskdale”

            On 17 August 2017 at 12:07, Huw

Pearce huw.pearce@bcs.org.uk
[sailwave] sailwave@yahoogroups.com
wrote:

Hi Jon,

                        It would be good if you, or perhaps there

is a SUG member conversant with
javascript/regex, could get this to work. It
would be very useful for when scoring events
with medal race(s).

                        Also for your info -- instead of .. has

same issue.

Kind regards,

Huw
On
17/08/2017 11:50, Jon Eskdale jon@sailwave.com
[sailwave] wrote:

                              Hi John - because a dot

has a special meaning you would have
to escape it with a \ so I would have
expected .. to work but when I
tested it, it did not. Not being a
javascript/regexp expert it will take
me some time to work out what the
solution would be.

                                I will do that if that is

definitely what you want but as I
don’t fully understand what you are
trying to achieve I would like you
to try changing the … code to
something like IGN and putting IGN
in the effect

/^(?!.\b(DNC|DNF|IGN|DNS|OCS|BFD|UFD|RET|DSQ|DGM|DNE)\b)./i

                                This works as it doesn't have the

complication of the . But the
question is does it then do what you
want?

Jon

Jon Eskdale
07530
112233

Skype “eskdale”

                                On 17 August

2017 at 09:34, ejwjohn@gmail.com
[sailwave] sailwave@yahoogroups.com
wrote:

Jon,

                                            Thank You for the

assistance on this but i
have obviously not
executed the task that
weel as it does not work
I have changed the
suggested line to the
following:-

var ignoreText
=
/^(?!.\b(DNC|…|DNF|DNS|OCS|BFD|UFD|RET|DSQ|DGM|DNE)\b)./i

                                            Is this correct?

because it is still
diplaying the results
with the … and the
other race with correct
scoring has not been
highlight at all??

thx

John W


Virus-free.
www.avast.com