Thanks Colin,

findPosNear() seems to find a property that carries the value closest to thevalue 
entered by the user. I am not sure whether I can use this. What do you think? Here is 
my problem in more detail: How it will work is that the user will enter a HorsePower 
value for which the three closest matches from a list will be retrieved. This list 
contains a large number of engines. They are arranged in: 'series', with each series 
consisting a nested property list with the models, which in turn contains a nested 
property list of the horsePower amongst other details about the individual engine. 
(The set-up of this list is tentative - I am still working on finding a maybe more 
simple structure..)

findPosNear() would return the property, which would always be 'horsePower', wouldn't 
it? Rather than finding the (three) closest value..?

Unless it would return the exact list position of the closest match, from which I then 
could extract the model name, series, etc.

 Sorry if all that sounds a bit like 'thinking out loud', but I guess that is what I 
am doing here...

I shall go away and write some lines

Thanks,
Nik
> Look at findposnear()
> 
> 

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to