Current Page:
NeXtMidas Training
Working with Files
File Names
Advanced
|
|
- Advanced Ways to Access Files:
- Trimming is a Midas concept with a section of a file.
- Trimmers in NeXtMidas are
(start:end) where start
is the inclusive starting offset starting (zero based) end is the exclusive ending offset.
See File Trimmers under the Common Midas concepts section
for more information.
nM> noop apenny.prm(4:10) temp.tmp
Creates a file called temp with 6 elements.
- URLs and file trimming can be used powerfully in tandem.
- For example:
original: nM> noop http://nextmidas.com/nm/nxm/sys/dat/apenny.prm(0:10) temp.tmp (currently unavailable)
alternative: nM> noop /opt/midas/nxmlatest/nm/nxm/sys/dat/apenny.prm(0:10) temp.tmp
(where /opt/midas/nxmlatest is a softlink to your local nxm installation)
nM> status temp.tmp
X-Midas Users Take Note: |
X-Midas does not support the use of URLs or the use of the nxm. syntax. These
were new features added to NeXtMidas that take advantage of the inherent capabilities of
Java.
|
X-Midas Users Take Note: |
X-Midas uses a <myname>(i) syntax to access data in a file.
If <myname> is not a result, it is treated as a file name.
NeXtMidas will not treat the name as a file, unless the syntax FILE(myname)
is used.
|
|
|
|