|
From: | Alan Slavin |
Subject: | Using a string variable as a filename |
Date: | Sun, 6 Nov 2011 11:29:54 -0500 |
How do I create a filename from a string
variable, or where do find this in the manual?
For example, in the following I want to save a
graph with the filename "graph14" of .eps type. However, it saves the
graph under the filename graph.eps.
graph=strcat("graph", "14")
print -deps graph.eps Neither of the following works
either
print -deps "graph".eps
graph=strcat("graph", "14", ".eps")
print -deps graph Thanks.
|
[Prev in Thread] | Current Thread | [Next in Thread] |