Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news-1.dfn.de!news.dfn.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 20:28:49 +0100 Lines: 86 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=response Content-Transfer-Encoding: 7bit X-Trace: individual.net a8lcyADEtOdxp8S1KzxIwA9XBjiN3YPbTBbELZ6qDuJnc8LpBY Cancel-Lock: sha1:uYA/TPOMUxRbWM/VJ6mAMLv8OwY= 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: 37303A2992966F60637767 X-EsetScannerBuild: 22624 Xref: csiph.com comp.lang.clipper.visual-objects:7783 Hi Martin, Unfortunately my provider does not allow me to post a binary. If you send me (urs.eggmann'at'shinternet.ch) a valid mail address, I'll send you a working sample. regards Urs "Martin" schrieb im Newsbeitrag news:mci3uc$o7e$1@dont-email.me... > had a chat at work no smaller than 1/16 (@ 1.5mm) > > most likely > ft in fraction > > so 2' 3 1/16 in a text field > > Will probably have to create a special dimension class for the mm SLEs to > send the silly version the silly values, so I have easier code! > > I have done linked SLEs like this before so I can rely on the SLEs to > populate > > > On 24/02/2015 10:31, Urs Eggmann wrote: >> 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 >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >> >