Top Prev Next Up Down
CreateURV
Create DAT-files for storing
RangeVectorPack.UserRangeVectorMap_TY.Map's.
Syntax: ./createurv <option>
<input-file> {<default_output_DATfile>}
Two options
- -v - verbose output
- -accum - extend or accumulate results
Where <input-file> contains commands and comments. If
defined alfamap is at end stored
in <default_output_DATfile>, but only if alfamap is not empty.
Option '-accum' donnot erase maps after store command. Option '-v'
list DAT-file names
at store command.
The term alfamap refers to a default
map created at the beginning of the run.
Input-file contains commands for the process. A command is one of
- ADD <map> -- add map to alfamap
- CLEAR -- remove all maps except alfamap
- DEL <map> -- remove map
- LOAD <DAT-file name> -- load all
maps from file
- MAP <map> {<element(f)> .. <element(l)>}* -- set a new active map (alfamap)
- SLICE <map> -- slice alfamap with
named map
- STORE <Dat-file name> -- store
existing maps and alfamap
- SUB <map> -- sub alfamap with
named map
where <element> is '<character>'
or 16#<hexavalue>#
and a comment of ADA type can be added after a command.
Example a4.conf input-file:
-- Start of Example input-file --
Map Gorgo
'M' .. 'P'
Load /home/alfa/u/project/GnatC_te/Tool/a2.dat
Add Xeno
Del Xeno
Store /home/alfa/u/project/GnatC_te/Tool/a4.dat
-- End of Example input-file --
Running createurv procedure : ./run.pl ./createurv a4.conf a.dat
In this case the result is stored at end in a4.dat,
which results in that a.dat is not used. If
the store-statement is not at last then a.dat
file will be used.