Difference between revisions of "Opening Multiple File with Incremental Name"

From ArcoWiki
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 22: Line 22:
 
::::<code>CLOSE/DID(TRE)</code>
 
::::<code>CLOSE/DID(TRE)</code>
 
::<code>JUMPTO/(III)</code>
 
::<code>JUMPTO/(III)</code>
 +
 +
 +
[[it:Apertura di più file con nome incrementale]]
 +
[[zh-cn:使用增量名称打开多个文件]]
 +
[[pt:Abrindo Múltiplos Arquivos com Nome Incremental]]
 +
[[de:Öffnen mehrerer Dateien mit inkrementellem Namen]]
 +
[[es:Apertura de múltiples archivos con nombre incremental]]
 +
[[en:Opening Multiple File with Incremental Name]]
  
 
[[Category:Dmis_Tutorial]]
 
[[Category:Dmis_Tutorial]]

Latest revision as of 07:47, 14 June 2018

This example show how to create an series of different output files in a specific folder using incremental names.

$$ Creates a Dummy Point

F(q)=FEAT/POINT,CART,00,0,0,0,0,1
FA(q)=FEAT/POINT,CART,00,0,0,0,0,1

$$ Define some tolerance

T(CORTOL_1)=TOL/CORTOL,XAXIS,-0.1000,0.1000
T(CORTOL_2)=TOL/CORTOL,YAXIS,-0.1000,0.1000
T(CORTOL_3)=TOL/CORTOL,ZAXIS,-0.1000,0.1000

$$ Declare the files: ??? is the symbol for incremental files

DID(uno)=DEVICE/INCR,'C:\uno_???.MEA'
DID(due)=DEVICE/INCR,'C:\due_???.HTM'
DID(tre)=DEVICE/INCR,'C:\tre_???'

$$ Little loop to create multiple file

(III)
OPEN/DID(UNO),FDATA,V(TEXT),OUTPUT,OVERWR
OPEN/DID(due),FDATA,V(HTML),OUTPUT,APPEND
OPEN/DID(TRE),FDATA,V(SPCLIGHT),OUTPUT,OVERWR
OUTPUT/FA(Q),TA(CORTOL_1),TA(CORTOL_2),TA(CORTOL_3)
CLOSE/DD(UNO)
CLOSE/DID(DUE)
CLOSE/DID(TRE)
JUMPTO/(III)