|
Sequential Extensions
Processing a series of files with sequential
extensions.
Often a user would like to process a series of files
with sequential extensions automatically. The filenames
may have extensions such as:
my_filename.001
my_filename.002
...
my_filename.010
my_filename.011
my_filename.012
...
my_filename.999
This can be awkward because of the different number of
leading zeros in each case. One way to handle this sort
of problem is with the eva command:
eva symbol_name (expression)
num_of_characters
num_of_characters this is the
number of characters used to define the symbol name.
Thus you could use the following sort of construction to
read a series of filenames:
for row 1 999
eva exten (&row) 3
re &filename.&exten
ft
...
next
|
|
• Back
to FAQ's
• Contact
us
|