Fileman fields can't be multiples of .10 -- is this a good thing?

35 views
Skip to first unread message

Kevin Toppenberg

unread,
Jun 11, 2024, 7:52:36 PMJun 11
to Hardhats
He all, I was making a new Fileman file, and added fields .01, .02, .03 ... .09   But when I tried to enter a field as .10, I was blocked and it wouldn't accept it.

The reason come from N^DICN1 where it tests value via +X=X 
And +".10" = ".1", so it fails this test.  

I guess that means that .10, .20, .30 etc are all disallowed.  I could skip from .09 to .11, but it seems weird to have to skip .10.  Or I could enter .1 and leave it at that....

I'm guessing if I allowed .10, it would break something else, right?

Kevin

Sam Habiel

unread,
Jun 11, 2024, 8:07:57 PMJun 11
to hard...@googlegroups.com
.10 is not a number in M. .1 is. 

--
--
http://groups.google.com/group/Hardhats
To unsubscribe, send email to Hardhats+u...@googlegroups.com

---
You received this message because you are subscribed to the Google Groups "Hardhats" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hardhats+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hardhats/5cd41772-11f4-4800-ab2c-96a57f60d1bfn%40googlegroups.com.

David Wicksell

unread,
Jun 11, 2024, 8:30:37 PMJun 11
to Hardhats
Bingo! 

An M canonical number will have all leading zeroes removed, and all trailing zeroes after
a decimal point removed, including the decimal point if the removal of trailing zeroes
results in a trailing decimal point. Hence, as Sam said, .10 becomes .1, which is the same
number after all, with no precision lost.

David Wicksell

Kevin Toppenberg

unread,
Jun 11, 2024, 8:34:03 PMJun 11
to Hardhats
Thanks all.  I just went with .09, .1, .11

KT

Ed de Moel

unread,
Jun 11, 2024, 8:40:07 PMJun 11
to hard...@googlegroups.com

I prefer to give fields integer numbers, that way this issue doesn't exist.
(and you can have 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, ...)

--

Ed de Moel
--
**************************************************************
This electronic mail transmission contains confidential and/or
privileged information intended only for the person(s) named.
Any use, distribution, copying or disclosure by another person
is strictly prohibited.
**************************************************************

Virus-free.www.avg.com

Sam Habiel

unread,
Jun 11, 2024, 10:28:18 PMJun 11
to hard...@googlegroups.com
My system of numbering fields is based on what IHS did in the 1980s: .13 = .1 node third piece. 1003 = 10, 3rd piece. 1010 = 10, 10th piece, etc.

--Sam

--
--
http://groups.google.com/group/Hardhats
To unsubscribe, send email to Hardhats+u...@googlegroups.com

---
You received this message because you are subscribed to the Google Groups "Hardhats" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hardhats+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages