High-Order ASCII Alphabet & Other Keyboard Edits

Rob Cozens rcozens at pon.net
Sat Dec 20 10:03:11 CST 2003


Hi All,

I'm in the process of writing a keyboard filter for SDB, and I would 
be interested in anyone's feedback regarding any missing desirable 
edit ranges in general and high-order ASCII alphabetic characters in 
particular.

The present Data Dictionary design supports the following basic edit 
types (character ranges are expressed as ASCII [numToChar] values):

  -~ =  32-126
  - =  32-256
09- =  48-57, + 45 + decimal separator if decimal precision is 
greater than 10^0
0-9 =  48-57,  + decimal separator if decimal precision is greater than 10^0
0-Z =  48-90
0-z =  48-147, less 91-96
0-Ù =  48-134 , less 91-127--Should be + 203-205 + 217 + 229-239 +241-244?
0-ü =  48-159 , less 91-96, less 123-127--Should be + 203-205 + 
216-217 + 229-239 + 241-244?
A-Z = 65-90
A-z = 65-122, less 9196
A-Ù = 65-90 + 12 -134--Should be + 203-205 + 217 + 229-239 + 241 244?
A-ü =  65-159 , less 91-96, less 123-127--Should be + 203-205 + 
216-217 + 229-239 + 241-244?
a-z  = 97-147
a-ü = 97-147 + 135-159--Should be + 216?
*** = None [field stores non-keyboard input]

As noted, my issues are with edit ranges that include high-order characters:

0-Ù =  High & low order uppercase Alphabetic characters + numerals
0-ü =  High & low order uppercase & lowercase Alphabetic characters + numerals
A-Ù =  High & low order uppercase Alphabetic characters
A-ü =  High & low order uppercase & lowercase Alphabetic characters
a-ü =  High & low order lowercase Alphabetic characters

I would greatly appreciate any responses that alleviate my ignorance 
of the standard high-order alphabet, ASCII and ANSI, and will happily 
evaluate any suggestions for other useful edit ranges.

Please note that the Data Dictionary includes the capability to 
create a list of characters within the specified edit range that are 
invalid for a particular field.  Example: to limit input to odd 
digits, one would set the edit range to "0-9" and designate "02468" 
as invalid keys.

TIA and happy holidays to all.

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.net/who.htm

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)


More information about the use-livecode mailing list