Quiz time -- "euronum" edit

Kenneth Brody kenbrody at bestweb.net
Tue Aug 16 06:59:58 PDT 2005


Quiz time!  (I hope everyone studied.)

I recently posted the following edit:

    euronum   \ N N N euron2 | N N euron2 | N euron2
    euron2    [{ <.> N N N }] ( <,00> @ | "," NUM NUM )

This takes numbers and puts them in the European style, where digits
are separated by periods and the decimal is a comma.  For example:

    123.456.789,01

My questions to you are:

    Why wouldn't the following, simpler, edit work?

        euronum   \ N N N euron2 | N N euron2 | N euron2
        euron2    [{ <.> N N N }] <,> NUM NUM

    And, how does the "corrected" version above fix the problem?

--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list