How about comparing as an array?

>From the LC Dictionary definition for “is":

When comparing arrays, the = operator first checks if the number of elements in 
each array is the same, if not the two arrays are different. If the arrays have 
the same number of elements, they are equal if each element is equal. 
Specifically this means:

array1 = array2 if (and only if):
  - the number of elements of array1 = the number of elements of array2 and
  - for each element e in array1, array1[e] = array2[e].

I haven’t tried it and you may run into the same problem.

Peter Bogdanoff


On Sep 2, 2015, at 7:40 PM, Terry Judd <terry.j...@unimelb.edu.au> wrote:

> Can you add a non-numeric character in front of each before you do the
> comparison?
> 
> Terry...
> 
> On 3/09/2015 12:33 pm, "use-livecode on behalf of Ralph DiMola"
> <use-livecode-boun...@lists.runrev.com on behalf of
> rdim...@evergreeninfo.net> wrote:
> 
>> Feeling pretty clueless here but...
>> 
>> I need ("5" = "005") to be false. This is for password validation.
>> 
>> Ralph DiMola
>> IT Director
>> Evergreen Information Services
>> rdim...@evergreeninfo.net
>> 
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to