Path: csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Martin Newsgroups: comp.lang.clipper.visual-objects Subject: Re: Inch and fraction entry Date: Tue, 24 Feb 2015 15:06:08 +0000 Organization: A noiseless patient Spider Lines: 75 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 24 Feb 2015 15:04:44 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="961ac114cdc2c8acdb2a58c38e53d09b"; logging-data="24814"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18VETHDsX8cgaYj7WVWaZFy" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 In-Reply-To: Cancel-Lock: sha1:4GpG3SzCYy5XrtqsuJeop2mDd88= Xref: csiph.com comp.lang.clipper.visual-objects:7775 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 >>>>> >>>>> >>>>> >>>>> >>>> >