At 08:10 2019-01-10, Koen Piller <[email protected]> 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


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/6672ca8cca1bbfc4a0a209cc6ae65401@mtlp000086
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to