Paul Tretter wrote:
> Can someone explain this. It may be incorrect but it seems the find
function is not going to return any value of "data:".

>> data: [123 456 789]
== [123 456 789]
>> print any [find data 432 999]
999
>> print any [find data 456 999]
456 789

It's correct! Perhaps a better example is:

>> MyValue: 456
== 456
>> print any [find data MyValue 999]
456 789
>> MyValue: 432
== 432
>> print any [find data MyValue 999]
999

Better still is a slight change in formatting, like this:
        print any [
            find data MyValue
            999
            ]
    so you can more easily see what's going on.

Andrew Martin
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
-><-

Reply via email to