QT: how do I determine wheter a chosen file is within the same folder as a new chosen destination folder?
William de Smet
williamdesmet at gmail.com
Fri Sep 12 11:32:12 EDT 2008
Hi Richard,
Thanks for your reply,
I am still here with RR 2.7.4 on OSX.
Maybe I'll buy the new version 3.0 when I got enough money to buy it.
I still use RR as a hobby :-)
Greetings,
William
2008/9/12 Richard Gaskin <ambassador at fourthworld.com>
> Ken Ray wrote:
>
> if (char 1 to length(bMap) of bLijst) = bMap then
>> -- in same folder
>> else
>> -- in different folder
>> end if
>>
>
> Rev 2.9 supports a new "begins with" operator for string comparisons, so
> the above could be written as:
>
> if bLijst begins with bMap then
> -- in same folder
> else
> -- in different folder
> end if
>
>
> While both forms execute in just a fraction of a millisecond, the new
> "begins with" form runs about 25% faster.
>
> There is also a new "ends with" operator as well.
>
> Good times....
>
> --
> Richard Gaskin
> Managing Editor, revJournal
> _______________________________________________________
> Rev tips, tutorials and more: http://www.revJournal.com
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list