Re: comparing a field fo 0 thru 9 values
- Posted by Euphoria <l3euphoria at bellsouth.net> Oct 20, 2003
- 401 views
I didn't think about this. Chris Bensler brought this to my attention. -- whole numbers, not limited to 31-bit integers global type integers(object list) return equal(list, floor(list)) end type So, for your case, you can do. seqseq = "#">500" mask = (seqseq >= '0') mask = (mask and ('9' >= seqseq)) mask = (mask and (list = floor(list))) seqseq *= mask mask = (mask = 0) mask *= '0' seqseq += mask Lucius L. Hilley III - Unkmar