From: Ethan M. <merritt@u.washington.edu> - 2004-07-21 15:30:41
|
On Wednesday 21 July 2004 03:37 am, Dave Denholm wrote: > This may be a stupid question, but does this syntax extend to > arbitrary expressions, or just variable names ? > > filename = 'sprintf("foobar%d.ps", i+1)' > or > maptofilename(i)=i+1 > filename = 'sprintf("foobar%d.ps", maptofilename(i))' Both of those would work. This is a new capability added to the existing expression evaluation code. It still handles everything it already handled, but now it knows how to handle at least some operations on strings also. -- Ethan A Merritt |