Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #7759 > unrolled thread
| Started by | Martin <spam@spam.spam> |
|---|---|
| First post | 2015-02-20 17:16 +0000 |
| Last post | 2015-02-24 14:58 +0000 |
| Articles | 16 — 7 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
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
| From | Martin <spam@spam.spam> |
|---|---|
| Date | 2015-02-20 17:16 +0000 |
| Subject | Inch and fraction entry |
| Message-ID | <mc7q0i$gao$1@dont-email.me> |
Hello How do I do this, currently EVERYTHING is mm. But we need to go old for an rather strange country. Thanks Martin
[toc] | [next] | [standalone]
| From | "Urs Eggmann" <Urs.Eggmann@shinternet.ch> |
|---|---|
| Date | 2015-02-20 22:41 +0100 |
| Message-ID | <ckpo22F6v0rU1@mid.individual.net> |
| In reply to | #7759 |
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
[toc] | [prev] | [next] | [standalone]
| From | "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> |
|---|---|
| Date | 2015-02-23 11:09 +0100 |
| Message-ID | <mceu6r$mbb$1@dont-email.me> |
| In reply to | #7760 |
There are 3 big countries in opposition to the metric system: USA, Canada, UK. Which of them is really more strange than our own country? :-) A possibility is also to make only one single sle and automatically recalculating from and to the internal metric value. The type of measure is stored in a country table. It is like this I have extended the usage of our programs. Arne Ortlinghaus ACS Data Systems "Urs Eggmann" <Urs.Eggmann@shinternet.ch> schrieb im Newsbeitrag news:ckpo22F6v0rU1@mid.individual.net... > 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 > > > >
[toc] | [prev] | [next] | [standalone]
| From | Martin <spam@spam.spam> |
|---|---|
| Date | 2015-02-23 12:24 +0000 |
| Message-ID | <mcf646$k7n$1@dont-email.me> |
| In reply to | #7763 |
Well UK is mainly metric and uses mm no problem, and I thought Canada did too. The strange country is the US and to be honest I would prefer not having too big a field as I don't want to redesign the screens too much. It would be easier if they joined even the 20th century for measurements. Thanks Martin -------- Forwarded Message -------- Subject: Re: Inch and fraction entry Date: Mon, 23 Feb 2015 11:09:06 +0100 From: Arne Ortlinghaus <Arne.Ortlinghaus@acs.it> Organisation: A noiseless patient Spider Newsgroups: comp.lang.clipper.visual-objects References: <mc7q0i$gao$1@dont-email.me> <ckpo22F6v0rU1@mid.individual.net> There are 3 big countries in opposition to the metric system: USA, Canada, UK. Which of them is really more strange than our own country? :-) A possibility is also to make only one single sle and automatically recalculating from and to the internal metric value. The type of measure is stored in a country table. It is like this I have extended the usage of our programs. Arne Ortlinghaus ACS Data Systems "Urs Eggmann" <Urs.Eggmann@shinternet.ch> schrieb im Newsbeitrag news:ckpo22F6v0rU1@mid.individual.net... > 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 > > > >
[toc] | [prev] | [next] | [standalone]
| From | "Warren McIntyre" <McIntyreAssociates@RemoveMeshaw.ca> |
|---|---|
| Date | 2015-02-23 09:43 -0800 |
| Message-ID | <EFJGw.2060764$Lj7.1362989@fx22.iad> |
| In reply to | #7763 |
Arne, The correct term for "metric system" is the "International System of Units (SI)" Canada officially adopted SI in 1975. It now is applied to all public and commercial applications in Canada. We have supplied applications to the Construction Materials Testing Industry in Canada and the USA since 1987. These applications feature databases wherein all observations and calculations are stored in SI units. Users are able to configure these systems to adopt either SI or Imperial units for recording testing laboratory and field observations. They also can configure each project in the systems to report in either one of the systems. Conversion routines are included to convert Imperial observations to SI and the stored SI values to Imperial where necessary. Materials testing standards can be cited in the systems for either: CSA - Canadian Standards Association (where SI is used), or ASTM (American Standards for Testing Materials (where Imperial is used). Warren McIntyre McIntyre Associates "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> wrote in message news:mceu6r$mbb$1@dont-email.me... > There are 3 big countries in opposition to the metric system: USA, Canada, > UK. > Which of them is really more strange than our own country? :-) > > A possibility is also to make only one single sle and automatically > recalculating from and to the internal metric value. The type of measure > is stored in a country table. It is like this I have extended the usage of > our programs. > > Arne Ortlinghaus > ACS Data Systems > > > "Urs Eggmann" <Urs.Eggmann@shinternet.ch> schrieb im Newsbeitrag > news:ckpo22F6v0rU1@mid.individual.net... >> 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 >> >> >> >> > >
[toc] | [prev] | [next] | [standalone]
| From | "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> |
|---|---|
| Date | 2015-02-23 18:59 +0100 |
| Message-ID | <mcfpon$7k1$1@dont-email.me> |
| In reply to | #7766 |
Hi Warren, thank you for giving me this additional information. I hope you have not been offended by my article. When writing my entry I looked up some info in the Internet, looking for example under http://en.wikipedia.org/wiki/Inch and http://en.wikipedia.org/wiki/Imperial_units . But looking further I find now found much other info. I should have known that Canada is using also the SI Units looking at some country information stored in our own programs. But if it seemed so: For me inches are not better or worse then mm or meters. I was used calculating in inches when I was developing electronic components many years ago. And it was just a factor of 25.4 that I had to use for conversions. Of course, having to add that to an existing program later on my be hard work. Thank you again Arne "Warren McIntyre" <McIntyreAssociates@RemoveMeshaw.ca> schrieb im Newsbeitrag news:EFJGw.2060764$Lj7.1362989@fx22.iad... > > > Arne, > > The correct term for "metric system" is the "International System of Units > (SI)" > Canada officially adopted SI in 1975. It now is applied to all public and > commercial applications in Canada. > > We have supplied applications to the Construction Materials Testing > Industry in Canada and the USA since 1987. > > These applications feature databases wherein all observations and > calculations are stored in SI units. > Users are able to configure these systems to adopt either SI or Imperial > units for recording testing laboratory and field observations. > They also can configure each project in the systems to report in either > one of the systems. > Conversion routines are included to convert Imperial observations to SI > and the stored SI values to Imperial where necessary. > > Materials testing standards can be cited in the systems for either: > CSA - Canadian Standards Association (where SI is used), or > ASTM (American Standards for Testing Materials (where Imperial is used). > > Warren McIntyre > McIntyre Associates > > > > "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> wrote in message > news:mceu6r$mbb$1@dont-email.me... >> There are 3 big countries in opposition to the metric system: USA, >> Canada, UK. >> Which of them is really more strange than our own country? :-) >> >> A possibility is also to make only one single sle and automatically >> recalculating from and to the internal metric value. The type of measure >> is stored in a country table. It is like this I have extended the usage >> of our programs. >> >> Arne Ortlinghaus >> ACS Data Systems >> >> >> "Urs Eggmann" <Urs.Eggmann@shinternet.ch> schrieb im Newsbeitrag >> news:ckpo22F6v0rU1@mid.individual.net... >>> 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 >>> >>> >>> >>> >> >> >
[toc] | [prev] | [next] | [standalone]
| From | Martin <spam@spam.spam> |
|---|---|
| Date | 2015-02-23 12:25 +0000 |
| Message-ID | <mcf661$k7n$2@dont-email.me> |
| In reply to | #7760 |
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 > > > >
[toc] | [prev] | [next] | [standalone]
| From | "Urs Eggmann" <Urs.Eggmann@shinternet.ch> |
|---|---|
| Date | 2015-02-23 23:28 +0100 |
| Message-ID | <cl1ntoF9uroU1@mid.individual.net> |
| In reply to | #7765 |
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 >> >> >> >> >
[toc] | [prev] | [next] | [standalone]
| From | Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> |
|---|---|
| Date | 2015-02-24 09:39 +0100 |
| Message-ID | <ordoeap1no70qthoo4qs4neftk37qq96ci@4ax.com> |
| In reply to | #7769 |
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 >>> >>> >>> >>> >>
[toc] | [prev] | [next] | [standalone]
| From | "Urs Eggmann" <Urs.Eggmann@shinternet.ch> |
|---|---|
| Date | 2015-02-24 11:31 +0100 |
| Message-ID | <cl32ehFk1hcU1@mid.individual.net> |
| In reply to | #7770 |
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 >>>> >>>> >>>> >>>> >>>
[toc] | [prev] | [next] | [standalone]
| From | Martin <spam@spam.spam> |
|---|---|
| Date | 2015-02-24 15:06 +0000 |
| Message-ID | <mci3uc$o7e$1@dont-email.me> |
| In reply to | #7773 |
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 >>>>> >>>>> >>>>> >>>>> >>>> >
[toc] | [prev] | [next] | [standalone]
| From | "richard.townsendrose" <richard.townsendrose@gmail.com> |
|---|---|
| Date | 2015-02-24 07:29 -0800 |
| Message-ID | <418f395a-9cf4-4b2b-b484-fb27fa539b45@googlegroups.com> |
| In reply to | #7775 |
Martin you forget that India, China, and Japan are all imperial - thats more than half the world. Richard
[toc] | [prev] | [next] | [standalone]
| From | Martin <spam@spam.spam> |
|---|---|
| Date | 2015-02-24 15:41 +0000 |
| Message-ID | <mci612$1n3$1@dont-email.me> |
| In reply to | #7777 |
India are happy with mm On 24/02/2015 15:29, richard.townsendrose wrote: > Martin > > you forget that India, China, and Japan are all imperial - thats more than half the world. > > Richard >
[toc] | [prev] | [next] | [standalone]
| From | James Martin <james@northwoodlumber.com> |
|---|---|
| Date | 2015-02-24 10:52 -0500 |
| Message-ID | <mci6f8$3lt$1@dont-email.me> |
| In reply to | #7778 |
In Canada we buy fuel in litres, and distances are mostly in kms. But a lot of people still use inches, etc., and other imperial measurements. For example, lumber is sold as 2" x 4", and 4' x 8' sheets of building materials are used. India is somewhat that way too. James On 15-02-24 10:41 AM, Martin wrote: > India are happy with mm > > On 24/02/2015 15:29, richard.townsendrose wrote: >> Martin >> >> you forget that India, China, and Japan are all imperial - thats more >> than half the world. >> >> Richard >> >
[toc] | [prev] | [next] | [standalone]
| From | "Urs Eggmann" <Urs.Eggmann@shinternet.ch> |
|---|---|
| Date | 2015-02-24 20:28 +0100 |
| Message-ID | <cl42miFsl9hU1@mid.individual.net> |
| In reply to | #7775 |
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" <spam@spam.spam> 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" <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 >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >> >
[toc] | [prev] | [next] | [standalone]
| From | Martin <spam@spam.spam> |
|---|---|
| Date | 2015-02-24 14:58 +0000 |
| Message-ID | <mci3gp$m1m$1@dont-email.me> |
| In reply to | #7769 |
We are still a bit at the start stage so not sure which technique we will use On 23/02/2015 22:28, Urs Eggmann wrote: > 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 >>> >>> >>> >>> >> >
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web