Go to AVS Home Page
 Recent Releases
AVS/Express 7.3 Released
OpenViz 2.9 Released
Toolmaster 7.5.3 Released
AVS 5.7 Released
 Contact Support
 Licensing
Information on licensing AVS 
products
 
Interact with the AVS Developer 
community. Takes you out of 
the support web site

 


Q. I want to read a series of files named 'filexxx.dat' where xxx vary from 000 to 015. How can I do that in AVS/Express?

A. Use the str_format command to build the filename strings in conjunction with the 'Loop' module to generate the values from 0 to 15:

macro animated_filename { 
	int+IPort2 index; 
	string+OPort2 filename => str_format("file%3d.dat",index); 
};