[mod.computers.vax] SMG Question

TBLAKE@BINGVAXA.BITNET (THOMAS R. BLAKE) (10/30/86)

Gerald,

        Not sure I got your exact meaning, but how about this one?

        (%1 / 10 + 48) (0 - %1 / 10 * 10 + %1 + 48)

        For Example,  26

        (26 / 10 + 48)
      = (2 + 48)
      = '2'

        (0 - 26 / 10 * 10 + 26 + 48)
      = (-26 / 10 * 10 + 26 + 48)
      = (-2 * 10 + 26 + 48)
      = (-20 + 26 + 48)
      = (6 + 48)
      = 54
      = '6'

                                                Thomas R. Blake
                                                SUNY Computer Center
                                                Binghamton, NY  13902