Scott Rossi wrote/ schreef: > Recently, Sjoerd Op 't Land wrote: >> So, optimized we'd get: >> >> function getFolderFromFilename tFilename >> set itemDel to "/" >> return item 1 to -2 of tFilename & "/" >> end function getFolderFromFilename
> The above could be even shorter: > > function getFolderFromFilename tFilename > set itemDel to "/";return item 1 to -2 of tFilename & "/" > end getFolderFromFilename True, but it doesn't make it faster nor more readable. It still 'counts' for two lines. > Also note that the last line should not include the word "function" Sure. (I wasn't really awake at that moment ;-) > Regards, > > Scott Regards, / Groeten, Sjoerd _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
