At 08:10 2019-01-10, Koen Piller <koen.piller(a)gmail.com> wrote:
>Frank,
>Downloading and installing the file Gene.zip was easy done succesfull.
>The form: I am not able to enter a value in column #Weird if I have entered
>8 in the column text. Is that how it is supposed to work?
I came up with some simple rules to test validation. They are
arbitrary, but they are also simple. (No sense having them be
complicated for a proof of concept.)
Regarding weirdnr:
1) weirdnr is supposed to be divisible by 3.
2) It is also supposed to have the same even-oddness as the first
character of thetext.
Example 1: With thetext of "An example", "A" has a value of 65 which
is odd, so weirdnr must be odd. Since it must also be divisible by
3, it must be one of {3, 9, 15, ...} or the negative of one of them.
Example 2: With thetext of "Brilliant or bad example", "B" has a
value of 66 which is even, so weirdnr must be even. Since it must
also be divisible by 3, it must be one of {0, 6, 12, 18, ...} or the
negative of one of them.
The above assumes Frank implemented correctly what I asked for,
and for that matter, that I wrote what I intended. I have just
gotten home from work -- I am working full-time outside of IT -- and
have not looked at his code yet.
I might not get to look at it in detail for a few days. But I
will. This is the first potential grid example that works for my
value of "works". If I have been overlooking something, I want to
know about it.
Mind you, I am going to try to break it, too. I want something
solid and to know that I have something solid.
[snip]
Sincerely,
Gene Wirchenko