18 MS240/241 Manual
The “Everything Else” Formula
If a formula is entered into the Data Editing area, then all read mag
card data will be evaluated according to this formula. If the read
mag card data does not satisfy the requirements of the Qualifier
(see page 16), then no data is output. Practically speaking, the
reader has been set up to read only mag stripe data defined by
the Qualifier. You will not be able to read other mag stripes.
The answer to this problem is to end the sequence of formulas with
a formula that has no Qualifier and whose Modifier includes all the
read data (starts at position 1 and outputs “all remaining”). An
example of this can be seen as Formula 7 above.
Data Editing, continued
In the example pictured above, a series of formulas are designed to
output all the data in a mag stripe that follows a series of “0”s. For
instance, if the actual mag card data is “000045678”, the desired
output would be “45678” (the original minus all the 0s occurring at
the beginning of the string). If there are six 0s (Formula 1), then
the output starts at the seventh position. If there are five 0s
(Formula 2), then the output starts at the sixth position, etc.
If, instead, we were to place the qualifier for two 0s above (before)
the qualifier for six 0s, then the formula stipulating two 0s would
activate even if there were six 0s in the mag card data because the
qualifier would stop looking for 0s after it had found two. In this
case, all qualifiers with three or more 0s would be disregarded,
which would not be a desirable result.
Arrange Formulas
After the formulas have
been created, they must
be arranged in the opti-
mum sequence by select-
ing formulas and using the
“Move Formula” icons (see
page 5). This sequence is
usually according to their
qualifier - from least likely
to occur to most likely to
occur.