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
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to