Re: Comparing Strings

2006-11-14 Thread Dar Scott
On Nov 14, 2006, at 1:42 PM, Dan Friedman wrote: Pretty simple, I know... But it works :) You hit upon one of the methods used to do a comparison that forces a string comparison instead of allowing a numerical comparison. This is handy in comparing binary data, too. Another simple meth

Comparing Strings

2006-11-14 Thread Dan Friedman
In case your interested, here is the work-around I came up with for the problem: --- put equalStrings("078e-16703","084E-11702") function equalStrings string1,string2 if length(string1) = length(string2) then if string1 is in string2 then retur

Re: Comparing Strings

2006-11-14 Thread Mark Schonewille
Hi Dan, It looks like the strings in quotes are treated as variables. If you add spaces around the dashes, they suddenly appear to be strings. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within mi

Re: Comparing Strings

2006-11-14 Thread Viktoras Didziulis
It seems like the numbers are "too small", does anyone know if there are any lower-upper limits for numerical calculations in Rev? Viktoras ---Original Message--- From: Dan Friedman Date: 11/14/06 20:59:19 To: RunRev Mail List Subject: Comparing Strings How is thi

Comparing Strings

2006-11-14 Thread Dan Friedman
How is this possible? Put this in the message box: put "078e-16703" = "084E-11702" Revolution (2.6.1) returns "true". Any advise? Thank you in advance, Dan ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to s