Use generic name for nexus dictionary.

r1531 | ffr | 2007-02-20 16:12:59 +1100 (Tue, 20 Feb 2007) | 2 lines
This commit is contained in:
Ferdi Franceschini
2007-02-20 16:12:59 +11:00
committed by Douglas Clowes
parent fb84767b54
commit 3ea7556258
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
MakeNXScript
#nxscript createxml junk4.xml echidna.dic
proc getVal {msg} {
return [string trim [lindex [split $msg =] 1 ] ]
}
@ -20,14 +20,14 @@ proc nxcreatefile {{type nx.hdf}} {
array set nxmode [list nx.hdf create5 h5 create5 nx5 create5 xml createxml];
set dataFileName [newFileName]
nxscript $nxmode($type) $dataFileName $cfPath(nexus)/echidna.dic;
nxscript $nxmode($type) $dataFileName $cfPath(nexus)/nexus.dic;
set nxFileOpen true
}
proc nxreopenfile {} {
global dataFileName nxFileOpen cfPath;
nxscript reopen $dataFileName $cfPath(nexus)/echidna.dic;
nxscript reopen $dataFileName $cfPath(nexus)/nexus.dic;
set nxFileOpen true;
}