Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Urs Eggmann" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: Inch and fraction entry Date: Tue, 24 Feb 2015 11:31:29 +0100 Lines: 58 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Trace: individual.net CMPmeIJoQjvkpJ2GRe2GTghxwCPnp+CnVi0yUE9HOTEm6TgLGv Cancel-Lock: sha1:ThqiB4EjlE67CQiaROndShsRbLk= X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-EsetId: 37303A2992966F6063746B X-EsetScannerBuild: 22618 Xref: csiph.com comp.lang.clipper.visual-objects:7773 Hi Karl, That's exactly the way I already began to investigate. For that I asked Martin the two questions. Next Thursday I'll ask Norbert for a Method to check a number for "power 2"..... regards Urs "Karl Faller" schrieb im Newsbeitrag news:ordoeap1no70qthoo4qs4neftk37qq96ci@4ax.com... > Urs, > AFAIS, to use only one sle you'll have to insist on writing in the > form of > digit(s) blank(s) digits slash digit(s) > > So the job is splitting textvalue in two blank separated chunks, test > last for slash.... > > Further restrictions i wouldn't add. > The interesting point may be, how to "serialize" the fraction part - > especially, if you have to "calculate" further with the fractions... > > Karl > >>Martin, >> >>I'm thinking about a function to analyze a value like "3 1/4" in the sle. >> >>Question 1: Are you interested on this? >>Question 2: Am I correct, that as denominators of the fraction part only >>powers of two are allowed? >> >>regards >>Urs >> >>"Martin" schrieb im Newsbeitrag >>news:mcf661$k7n$2@dont-email.me... >>> To be honest I am dreading this, our WHOLE system is geared around mm >>> >>> On 20/02/2015 21:41, Urs Eggmann wrote: >>>> Hi Martin, >>>> >>>>> an rather strange country. ??? >>>> I do not ask which country........ >>>> >>>> With no joke: >>>> I would present two sle one for the inches and the other for the >>>> fractions. >>>> After reading the sle analyse the string (read as text:value) >>>> for plausibility and value and calculate the necessary... >>>> >>>> regards >>>> Urs >>>> >>>> >>>> >>>> >>>