> I can't conceive of any way to "grab" that call without clicking on it in
> the proper location - the first letter of the call. If you just clicked
> anywhere in the call, WL would have to be able to figure out how to parse
> the partial string from the letter you clicked on to the end of the call and
> then find X number of characters to the left of the click point to try and
> "reassemble" the complete call into something that was a legitimate call
> sign . Seems like a prodigious programming task to say the least!
A possible algorithm would be to look back in the input buffer/stream till
you found the first non-alphanumeric char ( [0-9A-Za-z] for you regexp fans),
then take all chars up to the next non-alphanumeric character as the callsign.
You don't have try to parse this as a call, as you can assume the human on
the keyboard already did that.
73, K6TD, -KR-
_______________________________________________
WriteLog mailing list
WriteLog@contesting.com
http://lists.contesting.com/mailman/listinfo/writelog
WriteLog on the web: http://www.writelog.com/
|