Re: comparing a field fo 0 thru 9 values

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu