Using more than one replaceable param in FileSaveAs

Have a suggestion for improving DPlot or a question about existing features? Let us know
Post Reply
mlujan
Posts: 2
Joined: Sun Feb 16, 2014 2:45 pm

Using more than one replaceable param in FileSaveAs

Post by mlujan »

Hello all, I'm trying to save in a macro and would like the file to be named using a dash between |TITLE1| and |TITLE2|.

I've been trying this

FileSaveAs(1,"|TITLE1|-|TITLE2|.GRF")

But I get an error that I can't save due to invalid path
specification because only the |TITLE1| parameter is
being translated.

Is this possible? Or is only one parameter allowed when
saving/naming the file?

Thanks for any help.
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

Or is only one parameter allowed
Yes, but I can't think of a good reason for that limitation. I'll try to get this corrected in the next release.
Visualize Your Data
support@dplot.com
mlujan
Posts: 2
Joined: Sun Feb 16, 2014 2:45 pm

Post by mlujan »

Excellent! Thank so very much :)
Post Reply