Hi Dave,

put replaceText(the filename of this stack,the short name of this stack,"xxxxxxxxxx") into myString

Works fine here when the name of the file is the same as the name of the stack (disregarding the extension).
But they can be DIFFERENT and then associate these 2 references might not be a good idea ;-)
Best,


Le 18 avr. 05, � 17:34, David Burgun a �crit :

Hi,

Anyone got any ideas on this one:

This doesn't work:

local myString

put replaceText(the filename of this stack,the short name of this stack,"xxxxxxxxxx") into myString

The Trailing ".rev" is removed

Whereas this does:

local myTemp1
local myTemp2
local myString

put the filename of this stack into myTemp1
put the short name of this stack into myTemp2
put replaceText(myTemp1, myTemp2,"xxxxxxxxxxxxxxxx") into myString

works as expected and leaves the .rev in place.

Eric Chatonet. ---------------------------------------------------------------- So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch
----------------------------------------------------------------
Web site                http://www.sosmartsoftware.com/
Email           [EMAIL PROTECTED]/
Phone           33 (0)1 43 31 77 62
Mobile          33 (0)6 20 74 50 86
----------------------------------------------------------------

_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to