Re: Properties of system fonts




font.6="1.Bitstream Vera Sans Mono Bold Biggest"

IF Abbrev(lastword,"B")=1 THEN DO
IF Length(firstwords||" Bold")>32 THEN DO
SAY ' -> Please read "Bold" instead of "'||lastword||'"'

FWIW, you should be able to avoid this one from going wrong as good as
possible with comparing all (7) characters instead of just 1 ("B"). The
name isn't compliant with my (assumed) limit of 32 bytes, but OTOH there
is no reason to vice versa translate "Bold" to "Biggest". In Rexx, not
tested, and also taking "bOLD" into account:

IF Abbrev(Translate(lastword),"BOLD",Length(lastword))=1 THEN DO

This should compare "BIGGEST" with "BOLD" (fails) instead of comparing
it with "B" (passes; could be allright, depending on naming rules).



---
.



Relevant Pages

  • Re: Date Format Problem - mm.yy
    ... access to make the year out of the last 2 digits, ... I'm with Brenden on how to avoid this issue, ... too hard to make sense of a bunch of characters. ... There are a bunch of other issues involving the delimiter ...
    (microsoft.public.access.formscoding)
  • Re: Big Trouble at the little relief hut
    ... comparing multiboxing to not getting a job. ... how not getting a job compares to multiboxing. ... one jot to me if it's one person or five people behind the characters. ... automation into the game. ...
    (alt.games.warcraft)
  • Re: [opensuse] problem with [:graph:] in perl
    ... I'm comparing to how isgraphworks in C, ... interaction of Unicode and Locale. ... Perl uses logically-wide characters to ...
    (SuSE)
  • Re: db name nicht möglich?
    ... Use only letters or underscores ... Try to use underscore characters as little as possible. ... Avoid abbreviations ...
    (microsoft.public.de.sqlserver)
  • Re: Access Code Required For New Validation database
    ... One of your problems seems to involve comparing two strings to determine if they are not identical but are close enough to each other to be likely alternate spellings of the same name. ... This is made harder becuase if the potential duplicate is at the same address, I only have name to compare. ... Create different views of the name eg; first 4 characters of the last name, middel 4 characters, last 4 character etc and create "bins" of matches. ... One account Jon Simmons and another account Jahn Simmons. ...
    (microsoft.public.access.tablesdbdesign)