Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #7775

Re: Inch and fraction entry

From Martin <spam@spam.spam>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Inch and fraction entry
Date 2015-02-24 15:06 +0000
Organization A noiseless patient Spider
Message-ID <mci3uc$o7e$1@dont-email.me> (permalink)
References (1 earlier) <ckpo22F6v0rU1@mid.individual.net> <mcf661$k7n$2@dont-email.me> <cl1ntoF9uroU1@mid.individual.net> <ordoeap1no70qthoo4qs4neftk37qq96ci@4ax.com> <cl32ehFk1hcU1@mid.individual.net>

Show all headers | View raw


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" <mail_withoutthat_@_drei-f_andthat_.de> 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" <spam@spam.spam> 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
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Inch and fraction entry Martin <spam@spam.spam> - 2015-02-20 17:16 +0000
  Re: Inch and fraction entry "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2015-02-20 22:41 +0100
    Re: Inch and fraction entry "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> - 2015-02-23 11:09 +0100
      Re: Inch and fraction entry Martin <spam@spam.spam> - 2015-02-23 12:24 +0000
      Re: Inch and fraction entry "Warren McIntyre" <McIntyreAssociates@RemoveMeshaw.ca> - 2015-02-23 09:43 -0800
        Re: Inch and fraction entry "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> - 2015-02-23 18:59 +0100
    Re: Inch and fraction entry Martin <spam@spam.spam> - 2015-02-23 12:25 +0000
      Re: Inch and fraction entry "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2015-02-23 23:28 +0100
        Re: Inch and fraction entry Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2015-02-24 09:39 +0100
          Re: Inch and fraction entry "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2015-02-24 11:31 +0100
            Re: Inch and fraction entry Martin <spam@spam.spam> - 2015-02-24 15:06 +0000
              Re: Inch and fraction entry "richard.townsendrose" <richard.townsendrose@gmail.com> - 2015-02-24 07:29 -0800
                Re: Inch and fraction entry Martin <spam@spam.spam> - 2015-02-24 15:41 +0000
                Re: Inch and fraction entry James Martin <james@northwoodlumber.com> - 2015-02-24 10:52 -0500
              Re: Inch and fraction entry "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2015-02-24 20:28 +0100
        Re: Inch and fraction entry Martin <spam@spam.spam> - 2015-02-24 14:58 +0000

csiph-web